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.001302/0.001302, allocations: 103 kB / 16.45 MB, free: 6.449 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.001377/0.001377, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.03017/0.03017, allocations: 5.489 MB / 314.3 MB, free: 14.89 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.001954/0.001954, allocations: 63.89 kB / 440.6 MB, free: 7.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.105, allocations: 54.58 MB / 495.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01332/0.1183, allocations: 10.16 MB / 0.4935 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007207/0.1255, allocations: 3.601 MB / 0.497 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.1271, allocations: 79.56 kB / 0.4971 GB, free: 3.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007826/0.1349, allocations: 3.269 MB / 0.5003 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.1383, allocations: 0.8645 MB / 0.5011 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.1411, allocations: 1.102 MB / 0.5022 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006236/0.1473, allocations: 4.24 MB / 0.5063 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.1591, allocations: 7.994 MB / 0.5141 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2117/0.3708, allocations: 2.42 MB / 0.5165 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004471/0.3752, allocations: 2.661 MB / 0.5191 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002593/0.3778, allocations: 0.718 MB / 0.5198 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.3814, allocations: 1.034 MB / 0.5208 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002107/0.3835, allocations: 1.33 MB / 0.5221 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004375/0.3878, allocations: 2.605 MB / 0.5247 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.4001, allocations: 9.165 MB / 0.5336 GB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4001, allocations: 0 / 0.5336 GB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4001, allocations: 1.25 kB / 0.5336 GB, free: 10.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002506/0.4004, allocations: 3.984 kB / 0.5336 GB, free: 10.7 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.01581/0.4162, allocations: 5.431 MB / 0.5389 GB, free: 7.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4162, allocations: 10.22 kB / 0.5389 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001218/0.4174, allocations: 0.6082 MB / 0.5395 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.4276, allocations: 1.645 MB / 0.5411 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005791/0.4334, allocations: 2.948 MB / 0.544 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.4337, allocations: 325.5 kB / 0.5443 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/0.4351, allocations: 415.7 kB / 0.5447 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.448, allocations: 6.671 MB / 0.5512 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.534e-05/0.4481, allocations: 3.562 kB / 0.5512 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005264/0.4487, allocations: 173 kB / 0.5514 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/0.4488, allocations: 209.8 kB / 0.5516 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.4609, allocations: 5.63 MB / 0.5571 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04051/0.5014, allocations: 23.48 MB / 0.58 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006642/0.508, allocations: 4.267 MB / 0.5842 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.5095, allocations: 0.7538 MB / 0.5849 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.5098, allocations: 196.1 kB / 0.5851 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.5111, allocations: 0.7859 MB / 0.5859 GB, free: 13.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=106): time 2.976e-06/0.5111, allocations: 0 / 0.5859 GB, free: 13.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.005383/0.5165, allocations: 2.215 MB / 0.588 GB, free: 11.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.5166, allocations: 149.5 kB / 0.5882 GB, free: 10.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.5198, allocations: 1.831 MB / 0.59 GB, free: 9.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.5199, allocations: 45.7 kB / 0.59 GB, free: 9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002352/0.5223, allocations: 2.035 MB / 0.592 GB, free: 6.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005413/0.5228, allocations: 410.5 kB / 0.5924 GB, free: 6.566 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.5238, allocations: 0.5475 MB / 0.5929 GB, free: 6.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.524, allocations: 301.1 kB / 0.5932 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.526, allocations: 1.086 MB / 0.5943 GB, free: 4.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/0.5289, allocations: 2.178 MB / 0.5964 GB, free: 1.945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004876/0.5338, allocations: 3.369 MB / 0.5997 GB, free: 14.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-05/0.5338, allocations: 12 kB / 0.5997 GB, free: 14.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00679/0.5406, allocations: 3.489 MB / 0.6031 GB, free: 10.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.891e-05/0.5407, allocations: 45.7 kB / 0.6032 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.115e-05/0.5408, allocations: 40 kB / 0.6032 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/0.5413, allocations: 131.1 kB / 0.6033 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.5435, allocations: 0.6109 MB / 0.6039 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.5453, allocations: 1.641 MB / 0.6055 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.5475, allocations: 365.8 kB / 0.6059 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/0.5478, allocations: 136 kB / 0.606 GB, free: 7.859 MB / 446.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.003404/0.5512, allocations: 1.717 MB / 0.6077 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/0.5516, allocations: 166.9 kB / 0.6078 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.5552, allocations: 1.746 MB / 0.6095 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00262/0.5578, allocations: 1.391 MB / 0.6109 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5578, allocations: 4 kB / 0.6109 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.5579, allocations: 11.97 kB / 0.6109 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.5686, allocations: 4.948 MB / 0.6158 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.5687, allocations: 12.03 kB / 0.6158 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009148/0.5696, allocations: 214.5 kB / 0.616 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006791/0.5703, allocations: 262.2 kB / 0.6162 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.504e-05/0.5703, allocations: 27.98 kB / 0.6162 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.5715, allocations: 0.8309 MB / 0.6171 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5715, allocations: 0 / 0.6171 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004892/0.5764, allocations: 2.571 MB / 0.6196 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000848/0.5773, allocations: 363.7 kB / 0.6199 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/0.5775, allocations: 28 kB / 0.6199 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008758/0.5784, allocations: 87.84 kB / 0.62 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.5786, allocations: 72.55 kB / 0.6201 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.917e-05/0.5787, allocations: 36.06 kB / 0.6201 GB, free: 9.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002017/0.5807, allocations: 1.245 MB / 0.6213 GB, free: 8.031 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5807, allocations: 0 / 0.6213 GB, free: 8.031 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002917/0.5836, allocations: 0.9612 MB / 0.6223 GB, free: 7.066 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.005479/0.5891, allocations: 3.2 MB / 0.6254 GB, free: 3.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004519/0.5936, allocations: 2.374 MB / 0.6277 GB, free: 1.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5936, allocations: 0 / 0.6277 GB, free: 1.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.5949, allocations: 0.707 MB / 0.6284 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.5971, allocations: 371.1 kB / 0.6288 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03934/0.6364, allocations: 20.88 MB / 0.6492 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003411/0.6398, allocations: 3.021 MB / 0.6521 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002174/0.642, allocations: 0.8503 MB / 0.6529 GB, free: 6.508 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/0.6441, allocations: 1.304 MB / 0.6542 GB, free: 5.203 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6441, allocations: 0 / 0.6542 GB, free: 5.203 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.747, allocations: 51.98 MB / 0.705 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.09, allocations: 11.72 kB / 0.705 GB, free: 1.496 MB / 0.5294 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.972620882996125] Failed to read output from testmodel.py, exit status != 0: 16.2094279150042 16.225017522 15.821703724 Calling exit ...