Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 212.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.03052/0.03052, allocations: 5.499 MB / 317.9 MB, free: 13.51 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP3,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP3,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003245/0.003245, allocations: 68.19 kB / 446.1 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1403, allocations: 54.62 MB / 0.489 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01189/0.1522, allocations: 8.942 MB / 0.4977 GB, free: 3.914 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007097/0.1593, allocations: 3.395 MB / 0.501 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.1614, allocations: 83.56 kB / 0.5011 GB, free: 436 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008697/0.1701, allocations: 3.008 MB / 0.504 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.174, allocations: 0.8739 MB / 0.5049 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.1772, allocations: 1.051 MB / 0.5059 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005972/0.1832, allocations: 4.25 MB / 0.5101 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01352/0.1967, allocations: 6.562 MB / 0.5165 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2071/0.4038, allocations: 2.417 MB / 0.5188 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004541/0.4083, allocations: 2.529 MB / 0.5213 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002153/0.4105, allocations: 0.7196 MB / 0.522 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.4144, allocations: 1.025 MB / 0.523 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002443/0.4168, allocations: 1.333 MB / 0.5243 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004016/0.4208, allocations: 2.011 MB / 0.5263 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.4316, allocations: 9.208 MB / 0.5353 GB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4317, allocations: 0 / 0.5353 GB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4317, allocations: 0 / 0.5353 GB, free: 11.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002551/0.4319, allocations: 0 / 0.5353 GB, free: 11.61 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01618/0.4481, allocations: 5.352 MB / 0.5405 GB, free: 8.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4481, allocations: 14.14 kB / 0.5405 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002575/0.4507, allocations: 0.6078 MB / 0.5411 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.4622, allocations: 1.644 MB / 0.5427 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007932/0.4701, allocations: 2.953 MB / 0.5456 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/0.4705, allocations: 325.9 kB / 0.5459 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/0.4722, allocations: 414.8 kB / 0.5463 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.4863, allocations: 6.704 MB / 0.5528 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.4864, allocations: 3.719 kB / 0.5529 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009266/0.4873, allocations: 172.7 kB / 0.553 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/0.4875, allocations: 207.5 kB / 0.5532 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.5, allocations: 5.65 MB / 0.5587 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03848/0.5385, allocations: 19.7 MB / 0.578 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005414/0.5439, allocations: 2.162 MB / 0.5801 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.5454, allocations: 0.7892 MB / 0.5809 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.5456, allocations: 36.97 kB / 0.5809 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.5469, allocations: 0.8102 MB / 0.5817 GB, free: 5.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=106): time 3.186e-06/0.5469, allocations: 4 kB / 0.5817 GB, free: 5.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.005065/0.552, allocations: 2.232 MB / 0.5839 GB, free: 3.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.5521, allocations: 153.5 kB / 0.584 GB, free: 3.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/0.5551, allocations: 1.896 MB / 0.5859 GB, free: 1.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.5552, allocations: 45.7 kB / 0.5859 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00206/0.5573, allocations: 2.039 MB / 0.5879 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/0.5577, allocations: 406.4 kB / 0.5883 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008787/0.5586, allocations: 0.5475 MB / 0.5888 GB, free: 14.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5587, allocations: 301.1 kB / 0.5891 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.5606, allocations: 1.111 MB / 0.5902 GB, free: 12.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002829/0.5634, allocations: 2.203 MB / 0.5923 GB, free: 10.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00468/0.5681, allocations: 3.37 MB / 0.5956 GB, free: 6.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.769e-05/0.5681, allocations: 8 kB / 0.5956 GB, free: 6.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006316/0.5744, allocations: 3.523 MB / 0.5991 GB, free: 2.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.5745, allocations: 45.7 kB / 0.5991 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.836e-05/0.5746, allocations: 36 kB / 0.5992 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/0.5751, allocations: 140.1 kB / 0.5993 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.5773, allocations: 0.6054 MB / 0.5999 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.5791, allocations: 1.531 MB / 0.6014 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/0.5813, allocations: 377.8 kB / 0.6017 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.5816, allocations: 139.9 kB / 0.6019 GB, free: 72 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * 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 (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.002992/0.5846, allocations: 1.716 MB / 0.6036 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.5849, allocations: 162.9 kB / 0.6037 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/0.5885, allocations: 1.819 MB / 0.6055 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00264/0.5912, allocations: 1.461 MB / 0.6069 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5912, allocations: 0 / 0.6069 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.5912, allocations: 3.984 kB / 0.6069 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.6013, allocations: 4.836 MB / 0.6116 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.6013, allocations: 3.938 kB / 0.6116 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008993/0.6022, allocations: 210.9 kB / 0.6118 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006467/0.6029, allocations: 293.2 kB / 0.6121 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/0.603, allocations: 27.98 kB / 0.6121 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.6042, allocations: 0.8998 MB / 0.613 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6042, allocations: 8 kB / 0.613 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004915/0.6092, allocations: 2.663 MB / 0.6156 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009705/0.6101, allocations: 292.5 kB / 0.6159 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.6104, allocations: 27.95 kB / 0.6159 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008951/0.6113, allocations: 87.91 kB / 0.616 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.6115, allocations: 72.86 kB / 0.6161 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.6116, allocations: 36.08 kB / 0.6161 GB, free: 1.305 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002148/0.6137, allocations: 1.248 MB / 0.6173 GB, free: 64 kB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6137, allocations: 0 / 0.6173 GB, free: 64 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.003091/0.6168, allocations: 0.9535 MB / 0.6183 GB, free: 15.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_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 (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005449/0.6222, allocations: 3.316 MB / 0.6215 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.6268, allocations: 2.429 MB / 0.6239 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6268, allocations: 0 / 0.6239 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.6281, allocations: 0.7377 MB / 0.6246 GB, free: 8.648 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.6301, allocations: 374.7 kB / 0.625 GB, free: 8.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0392/0.6693, allocations: 21.08 MB / 0.6455 GB, free: 1.965 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003714/0.6731, allocations: 2.483 MB / 0.648 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002279/0.6753, allocations: 0.8581 MB / 0.6488 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/0.6776, allocations: 1.3 MB / 0.6501 GB, free: 13.28 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6776, allocations: 0 / 0.6501 GB, free: 13.28 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.781, allocations: 52.7 MB / 0.7015 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.23, allocations: 9.312 kB / 0.7016 GB, free: 9.02 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3_fmu --startTime=0 --stopTime=300 --stepSize=0.1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.231623314786702] Failed to read output from testmodel.py, exit status != 0: 15.370370243210346 15.386914474 14.951649869 Calling exit ...