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.001319/0.001319, 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.001456/0.001456, allocations: 211.3 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.781 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.03061/0.03061, allocations: 5.482 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.002097/0.002097, allocations: 68.17 kB / 446.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1081, allocations: 54.63 MB / 0.489 GB, free: 12.88 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01216/0.1203, allocations: 8.928 MB / 0.4977 GB, free: 3.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007568/0.1279, allocations: 3.399 MB / 0.501 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.1298, allocations: 87.56 kB / 0.5011 GB, free: 416 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008338/0.1381, allocations: 3.012 MB / 0.504 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.1427, allocations: 0.8661 MB / 0.5049 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.146, allocations: 1.052 MB / 0.5059 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006609/0.1526, allocations: 4.253 MB / 0.5101 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/0.1639, allocations: 6.562 MB / 0.5165 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2337/0.3976, allocations: 2.421 MB / 0.5188 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004755/0.4023, allocations: 2.535 MB / 0.5213 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002711/0.4051, allocations: 0.718 MB / 0.522 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.408, allocations: 1.021 MB / 0.523 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001949/0.41, allocations: 1.332 MB / 0.5243 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00333/0.4133, allocations: 2.003 MB / 0.5263 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.4238, allocations: 9.208 MB / 0.5353 GB, free: 11.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4238, allocations: 0 / 0.5353 GB, free: 11.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4238, allocations: 0 / 0.5353 GB, free: 11.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002678/0.4241, allocations: 5.359 kB / 0.5353 GB, free: 11.52 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.01944/0.4435, allocations: 5.353 MB / 0.5405 GB, free: 8.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.4436, allocations: 11.03 kB / 0.5405 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002472/0.446, allocations: 0.6077 MB / 0.5411 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.4564, allocations: 1.646 MB / 0.5427 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007273/0.4636, allocations: 2.943 MB / 0.5456 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.4639, allocations: 327 kB / 0.5459 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001485/0.4654, allocations: 419.5 kB / 0.5463 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.4784, allocations: 6.703 MB / 0.5528 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-05/0.4785, allocations: 4 kB / 0.5528 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004369/0.4789, allocations: 174.2 kB / 0.553 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/0.4791, allocations: 211 kB / 0.5532 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.4906, allocations: 5.638 MB / 0.5587 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04016/0.5308, allocations: 19.72 MB / 0.578 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005272/0.5361, allocations: 2.163 MB / 0.5801 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.5376, allocations: 0.7853 MB / 0.5809 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.5377, allocations: 46.88 kB / 0.5809 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/0.5391, allocations: 0.8036 MB / 0.5817 GB, free: 5.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=106): time 3.056e-06/0.5391, allocations: 0 / 0.5817 GB, free: 5.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.005559/0.5446, allocations: 2.24 MB / 0.5839 GB, free: 3.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.5448, allocations: 152.1 kB / 0.584 GB, free: 3.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.5482, allocations: 1.896 MB / 0.5859 GB, free: 1.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.5483, allocations: 45.7 kB / 0.5859 GB, free: 1.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002463/0.5507, allocations: 2.041 MB / 0.5879 GB, free: 15.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000451/0.5512, allocations: 401 kB / 0.5883 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008798/0.5521, allocations: 0.5475 MB / 0.5888 GB, free: 14.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5522, allocations: 301.1 kB / 0.5891 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.5541, allocations: 1.107 MB / 0.5902 GB, free: 12.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/0.5569, allocations: 2.205 MB / 0.5923 GB, free: 9.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/0.5616, allocations: 3.376 MB / 0.5956 GB, free: 6.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.571e-05/0.5616, allocations: 12 kB / 0.5956 GB, free: 6.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006833/0.5685, allocations: 3.526 MB / 0.5991 GB, free: 2.902 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.5686, allocations: 49.69 kB / 0.5991 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.554e-05/0.5686, allocations: 40 kB / 0.5992 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005531/0.5692, allocations: 124.9 kB / 0.5993 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/0.5715, allocations: 0.6076 MB / 0.5999 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.5736, allocations: 1.536 MB / 0.6014 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/0.5769, allocations: 369.8 kB / 0.6017 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004586/0.5774, allocations: 136 kB / 0.6019 GB, free: 4 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.0045/0.5819, allocations: 1.713 MB / 0.6035 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/0.5825, allocations: 166.9 kB / 0.6037 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005036/0.5875, allocations: 1.814 MB / 0.6055 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003738/0.5913, allocations: 1.468 MB / 0.6069 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.5913, allocations: 0 / 0.6069 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.5913, allocations: 3.984 kB / 0.6069 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/0.6053, allocations: 4.83 MB / 0.6116 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.6053, allocations: 11.88 kB / 0.6116 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.6065, allocations: 218.8 kB / 0.6118 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008769/0.6074, allocations: 285.7 kB / 0.6121 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.6075, allocations: 31.98 kB / 0.6122 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.6091, allocations: 0.8967 MB / 0.613 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6091, allocations: 3.938 kB / 0.613 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00709/0.6162, allocations: 2.67 MB / 0.6156 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.6176, allocations: 282.6 kB / 0.6159 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/0.618, allocations: 35.94 kB / 0.6159 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.6193, allocations: 87.91 kB / 0.616 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.6196, allocations: 64.88 kB / 0.6161 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.6197, allocations: 39.98 kB / 0.6161 GB, free: 1.223 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002875/0.6225, allocations: 1.237 MB / 0.6173 GB, free: 15.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6225, allocations: 0 / 0.6173 GB, free: 15.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003475/0.626, allocations: 0.9613 MB / 0.6183 GB, free: 15.02 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.005537/0.6316, allocations: 3.315 MB / 0.6215 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005029/0.6366, allocations: 2.43 MB / 0.6239 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6366, allocations: 2 kB / 0.6239 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.638, allocations: 0.7402 MB / 0.6246 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.6401, allocations: 370 kB / 0.625 GB, free: 8.223 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03661/0.6767, allocations: 21.07 MB / 0.6455 GB, free: 1.895 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003317/0.6801, allocations: 2.485 MB / 0.648 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002311/0.6824, allocations: 0.8613 MB / 0.6488 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/0.6845, allocations: 1.304 MB / 0.6501 GB, free: 13.21 MB / 494.1 MB Notification: Performance of SimCode: time 1.332e-06/0.6845, allocations: 0 / 0.6501 GB, free: 13.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/0.7967, allocations: 52.7 MB / 0.7016 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.61, allocations: 11.16 kB / 0.7016 GB, free: 8.934 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.681643040385097] Failed to read output from testmodel.py, exit status != 0: 15.755541973281652 15.781633606 15.354242066 Calling exit ...