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.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.001208/0.001208, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001367/0.001367, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.02943/0.02943, allocations: 5.48 MB / 318.7 MB, free: 13.71 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.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="cs",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.002098/0.002098, allocations: 69.61 kB / 447 MB, free: 3.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1102, allocations: 54.61 MB / 0.4898 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.008573/0.1188, allocations: 6.428 MB / 0.4961 GB, free: 6.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005394/0.1242, allocations: 2.655 MB / 0.4987 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008938/0.1251, allocations: 19.94 kB / 0.4987 GB, free: 4.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.1282, allocations: 1.139 MB / 0.4998 GB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1301, allocations: 0.6253 MB / 0.5004 GB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1311, allocations: 359.2 kB / 0.5008 GB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.133, allocations: 1.164 MB / 0.5019 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.1347, allocations: 0.8833 MB / 0.5028 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008263/0.1356, allocations: 490.2 kB / 0.5033 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009996/0.1366, allocations: 0.5759 MB / 0.5038 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003039/0.1369, allocations: 124 kB / 0.5039 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008022/0.1377, allocations: 303.8 kB / 0.5042 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.138, allocations: 255.1 kB / 0.5045 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008691/0.1388, allocations: 0.5482 MB / 0.505 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.1411, allocations: 1.498 MB / 0.5065 GB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1411, allocations: 4 kB / 0.5065 GB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1411, allocations: 0 / 0.5065 GB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.2e-05/0.1411, allocations: 0 / 0.5065 GB, free: 12.04 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004485/0.1456, allocations: 1.488 MB / 0.5079 GB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1456, allocations: 8.031 kB / 0.5079 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.439e-05/0.1457, allocations: 26.19 kB / 0.508 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002534/0.1459, allocations: 148 kB / 0.5081 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.1481, allocations: 348 kB / 0.5084 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.1498, allocations: 0.6212 MB / 0.509 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.971e-05/0.1499, allocations: 70 kB / 0.5091 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.1501, allocations: 99.94 kB / 0.5092 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.1521, allocations: 0.9931 MB / 0.5102 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.1521, allocations: 7.984 kB / 0.5102 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/0.1522, allocations: 36 kB / 0.5102 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.1522, allocations: 24 kB / 0.5102 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.1541, allocations: 0.8458 MB / 0.5111 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006158/0.1603, allocations: 3.543 MB / 0.5145 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.1621, allocations: 0.6147 MB / 0.5151 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.1626, allocations: 227.4 kB / 0.5153 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/0.1627, allocations: 15.98 kB / 0.5154 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/0.1633, allocations: 321.8 kB / 0.5157 GB, free: 2.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.1633, allocations: 3.938 kB / 0.5157 GB, free: 2.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.002756/0.1661, allocations: 0.8461 MB / 0.5165 GB, free: 1.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.1662, allocations: 144.5 kB / 0.5166 GB, free: 1.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/0.167, allocations: 0.4941 MB / 0.5171 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.167, allocations: 41.69 kB / 0.5171 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.1674, allocations: 475.6 kB / 0.5176 GB, free: 296 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.1676, allocations: 170.6 kB / 0.5178 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1974/0.365, allocations: 145 kB / 0.5179 GB, free: 32.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3651, allocations: 364.8 kB / 0.5183 GB, free: 32.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.3657, allocations: 231.6 kB / 0.5185 GB, free: 32.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007018/0.3664, allocations: 427.9 kB / 0.5189 GB, free: 31.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.3675, allocations: 0.6998 MB / 0.5196 GB, free: 31.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.3675, allocations: 1.562 kB / 0.5196 GB, free: 31.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001776/0.3693, allocations: 0.8619 MB / 0.5204 GB, free: 31.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.3693, allocations: 36.5 kB / 0.5204 GB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.3693, allocations: 8.844 kB / 0.5205 GB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.3698, allocations: 81.55 kB / 0.5205 GB, free: 31.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.3705, allocations: 169.2 kB / 0.5207 GB, free: 31.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.3717, allocations: 1.473 MB / 0.5221 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/0.3724, allocations: 89.33 kB / 0.5222 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.684e-05/0.3725, allocations: 37.48 kB / 0.5222 GB, free: 30.16 MB / 382.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.0004356/0.373, allocations: 272.3 kB / 0.5225 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.3731, allocations: 58.89 kB / 0.5226 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.3747, allocations: 0.6614 MB / 0.5232 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.3747, allocations: 5.703 kB / 0.5232 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3747, allocations: 5.125 kB / 0.5232 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3747, allocations: 7.188 kB / 0.5232 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.3776, allocations: 1.527 MB / 0.5247 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3776, allocations: 1.188 kB / 0.5247 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.3779, allocations: 71.84 kB / 0.5248 GB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005947/0.3785, allocations: 255.8 kB / 0.525 GB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.3786, allocations: 14.69 kB / 0.525 GB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009208/0.3795, allocations: 0.8376 MB / 0.5259 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3795, allocations: 1.094 kB / 0.5259 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.3815, allocations: 1.014 MB / 0.5269 GB, free: 28.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.3818, allocations: 100.4 kB / 0.527 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.3819, allocations: 14.42 kB / 0.527 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.3823, allocations: 33.86 kB / 0.527 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.3824, allocations: 29 kB / 0.527 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.3824, allocations: 17.42 kB / 0.527 GB, free: 28.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004128/0.3828, allocations: 350.6 kB / 0.5274 GB, free: 28.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3828, allocations: 3.531 kB / 0.5274 GB, free: 28.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007887/0.3836, allocations: 240.3 kB / 0.5276 GB, free: 28.57 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.002361/0.386, allocations: 1.609 MB / 0.5292 GB, free: 27.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.3875, allocations: 0.7245 MB / 0.5299 GB, free: 27.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3875, allocations: 5.562 kB / 0.5299 GB, free: 27.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.388, allocations: 282.1 kB / 0.5302 GB, free: 27.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006511/0.3887, allocations: 105 kB / 0.5303 GB, free: 27.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008947/0.3976, allocations: 5.524 MB / 0.5357 GB, free: 23.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.3982, allocations: 0.9458 MB / 0.5366 GB, free: 23.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000389/0.3986, allocations: 86.06 kB / 0.5367 GB, free: 23.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.3989, allocations: 300.9 kB / 0.5369 GB, free: 22.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3989, allocations: 4 kB / 0.537 GB, free: 22.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.441, allocations: 15.24 MB / 0.5518 GB, free: 15.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/14.97, allocations: 10.73 kB / 0.5518 GB, free: 15.28 MB / 382.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 os._exit(0), Time elapsed: 17.55060883599799] Failed to read output from testmodel.py, exit status != 0: 15.149236878962256 15.166108188 15.021685539 Calling exit ...