Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02875/0.02875, allocations: 5.462 MB / 308.1 MB, free: 3.152 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 64.08 kB / 432.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2493, allocations: 53.39 MB / 485.4 MB, free: 27.65 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.006982/0.2563, allocations: 6.389 MB / 491.8 MB, free: 23.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00426/0.2606, allocations: 2.579 MB / 494.4 MB, free: 21.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006192/0.2612, allocations: 17.34 kB / 494.4 MB, free: 21.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.2636, allocations: 1.131 MB / 495.6 MB, free: 20.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.2653, allocations: 0.7842 MB / 496.3 MB, free: 20.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.266, allocations: 353 kB / 496.7 MB, free: 19.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.2672, allocations: 1.157 MB / 497.8 MB, free: 19.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.2683, allocations: 0.7657 MB / 498.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.2688, allocations: 479.4 kB / 499.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006671/0.2694, allocations: 0.567 MB / 499.6 MB, free: 18.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.2696, allocations: 130.8 kB / 499.8 MB, free: 18.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.2701, allocations: 283.8 kB / 0.4883 GB, free: 18.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.2703, allocations: 262.8 kB / 0.4886 GB, free: 17.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.2707, allocations: 0.5404 MB / 0.4891 GB, free: 17.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.2725, allocations: 1.494 MB / 0.4906 GB, free: 16.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2725, allocations: 0 / 0.4906 GB, free: 16.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2725, allocations: 1.125 kB / 0.4906 GB, free: 16.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.585e-05/0.2726, allocations: 0 / 0.4906 GB, free: 16.96 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004016/0.2766, allocations: 1.563 MB / 0.4921 GB, free: 16.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.2766, allocations: 9.656 kB / 0.4921 GB, free: 16.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/0.2768, allocations: 145.5 kB / 0.4922 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.279, allocations: 360.5 kB / 0.4926 GB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.2806, allocations: 0.6942 MB / 0.4933 GB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.378e-05/0.2807, allocations: 76.22 kB / 0.4933 GB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.2809, allocations: 94.16 kB / 0.4934 GB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.2826, allocations: 0.9961 MB / 0.4944 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.2826, allocations: 1.344 kB / 0.4944 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.2827, allocations: 37.59 kB / 0.4944 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.2827, allocations: 22.28 kB / 0.4945 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.2844, allocations: 0.837 MB / 0.4953 GB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004874/0.2892, allocations: 3.857 MB / 0.499 GB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.291, allocations: 1.444 MB / 0.5005 GB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.2914, allocations: 216.7 kB / 0.5007 GB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.407e-05/0.2915, allocations: 91.38 kB / 0.5007 GB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005524/0.292, allocations: 313.8 kB / 0.501 GB, free: 9.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 1.803e-06/0.292, allocations: 0 / 0.501 GB, free: 9.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002684/0.2947, allocations: 0.9404 MB / 0.502 GB, free: 8.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.2948, allocations: 152.1 kB / 0.5021 GB, free: 8.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006516/0.2954, allocations: 0.5018 MB / 0.5026 GB, free: 8.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.2955, allocations: 36.11 kB / 0.5026 GB, free: 8.273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.2957, allocations: 469.4 kB / 0.5031 GB, free: 7.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.2958, allocations: 167.1 kB / 0.5032 GB, free: 7.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.2961, allocations: 146.8 kB / 0.5034 GB, free: 7.621 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.2962, allocations: 367.1 kB / 0.5037 GB, free: 7.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.2967, allocations: 238.2 kB / 0.504 GB, free: 7.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.2973, allocations: 429.1 kB / 0.5044 GB, free: 6.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.2984, allocations: 0.7087 MB / 0.5051 GB, free: 6.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.2984, allocations: 0 / 0.5051 GB, free: 6.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002041/0.3005, allocations: 0.8564 MB / 0.5059 GB, free: 5.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.3005, allocations: 34.64 kB / 0.5059 GB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3005, allocations: 5.375 kB / 0.5059 GB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004925/0.301, allocations: 85.09 kB / 0.506 GB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.3017, allocations: 170.2 kB / 0.5062 GB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.3029, allocations: 1.58 MB / 0.5077 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007311/0.3036, allocations: 99.11 kB / 0.5078 GB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.3037, allocations: 27.38 kB / 0.5078 GB, free: 4.031 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003939/0.3041, allocations: 278.7 kB / 0.5081 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3042, allocations: 60.03 kB / 0.5082 GB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.3055, allocations: 0.6591 MB / 0.5088 GB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3055, allocations: 8 kB / 0.5088 GB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.3055, allocations: 1.375 kB / 0.5088 GB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3055, allocations: 5.359 kB / 0.5088 GB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003669/0.3092, allocations: 1.682 MB / 0.5105 GB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3092, allocations: 1.156 kB / 0.5105 GB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.3095, allocations: 76.67 kB / 0.5105 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005396/0.3101, allocations: 257.7 kB / 0.5108 GB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.3101, allocations: 17.08 kB / 0.5108 GB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008637/0.311, allocations: 0.8234 MB / 0.5116 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.311, allocations: 1.094 kB / 0.5116 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.314, allocations: 1.153 MB / 0.5127 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.3143, allocations: 180.6 kB / 0.5129 GB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/0.3144, allocations: 12 kB / 0.5129 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.3148, allocations: 44.03 kB / 0.513 GB, free: 332 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.3148, allocations: 31.89 kB / 0.513 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.3149, allocations: 16 kB / 0.513 GB, free: 284 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003616/0.3152, allocations: 342.9 kB / 0.5133 GB, free: 15.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3152, allocations: 0 / 0.5133 GB, free: 15.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008672/0.3161, allocations: 235.3 kB / 0.5136 GB, free: 15.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00396/0.3201, allocations: 1.747 MB / 0.5153 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.3218, allocations: 0.7164 MB / 0.516 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3218, allocations: 4 kB / 0.516 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.3223, allocations: 280.4 kB / 0.5162 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.323, allocations: 93.91 kB / 0.5163 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009229/0.3322, allocations: 5.543 MB / 0.5217 GB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.3329, allocations: 0.9368 MB / 0.5227 GB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003675/0.3332, allocations: 84.97 kB / 0.5227 GB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.3336, allocations: 303.3 kB / 0.523 GB, free: 5.652 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3336, allocations: 4 kB / 0.523 GB, free: 5.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04651/0.3802, allocations: 14.51 MB / 0.5372 GB, free: 7.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/14.69, allocations: 6.344 kB / 0.5372 GB, free: 7.297 MB / 398.1 MB " [Timeout remaining time 645] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP_fmu --startTime=0 --stopTime=300 --stepSize=0.1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.415217061061412] Failed to read output from testmodel.py, exit status != 0: 14.79342752462253 14.808525487 14.532909416 Calling exit ...