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.001878/0.001878, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002178/0.002178, allocations: 217 kB / 22.25 MB, free: 5.082 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.459/1.459, allocations: 230.6 MB / 256 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.03059/0.03059, allocations: 5.473 MB / 317.9 MB, free: 13.73 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.002014/0.002014, allocations: 66.41 kB / 446.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09809, allocations: 54.61 MB / 0.4891 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01252/0.1106, allocations: 10.24 MB / 0.4991 GB, free: 2.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006613/0.1172, allocations: 3.609 MB / 0.5026 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.1183, allocations: 79.62 kB / 0.5027 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00728/0.1255, allocations: 3.271 MB / 0.5059 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.1284, allocations: 0.8972 MB / 0.5067 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.1308, allocations: 1.104 MB / 0.5078 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004929/0.1357, allocations: 4.246 MB / 0.512 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2022/0.3379, allocations: 6.637 MB / 0.5184 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.3409, allocations: 2.425 MB / 0.5208 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004201/0.3451, allocations: 2.662 MB / 0.5234 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001695/0.3468, allocations: 0.7179 MB / 0.5241 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.3495, allocations: 1.045 MB / 0.5251 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.351, allocations: 1.332 MB / 0.5264 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003865/0.3549, allocations: 2.6 MB / 0.529 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.3653, allocations: 9.172 MB / 0.5379 GB, free: 7.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.3653, allocations: 1.406 kB / 0.5379 GB, free: 7.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3653, allocations: 0 / 0.5379 GB, free: 7.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002813/0.3656, allocations: 0 / 0.5379 GB, free: 7.555 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.01647/0.3821, allocations: 5.366 MB / 0.5432 GB, free: 4.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3821, allocations: 10.25 kB / 0.5432 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001845/0.384, allocations: 0.6115 MB / 0.5438 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.3942, allocations: 1.637 MB / 0.5454 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007039/0.4012, allocations: 2.948 MB / 0.5482 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.4014, allocations: 318.2 kB / 0.5486 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.403, allocations: 418.4 kB / 0.549 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.4177, allocations: 6.67 MB / 0.5555 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.771e-05/0.4178, allocations: 7.641 kB / 0.5555 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005276/0.4184, allocations: 174.1 kB / 0.5556 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/0.4185, allocations: 209 kB / 0.5558 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.4299, allocations: 5.627 MB / 0.5613 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03954/0.4695, allocations: 21.41 MB / 0.5822 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00511/0.4746, allocations: 2.152 MB / 0.5843 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.4759, allocations: 0.7578 MB / 0.5851 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.4761, allocations: 40.8 kB / 0.5851 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.4775, allocations: 0.789 MB / 0.5859 GB, free: 15.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=106): time 3.788e-06/0.4775, allocations: 0 / 0.5859 GB, free: 15.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.00507/0.4825, allocations: 2.141 MB / 0.588 GB, free: 13.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.4827, allocations: 145.5 kB / 0.5881 GB, free: 12.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002982/0.4856, allocations: 1.823 MB / 0.5899 GB, free: 11.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.4858, allocations: 41.7 kB / 0.5899 GB, free: 11.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00211/0.4879, allocations: 2.038 MB / 0.5919 GB, free: 8.969 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004523/0.4883, allocations: 412 kB / 0.5923 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008874/0.4892, allocations: 0.5475 MB / 0.5929 GB, free: 8.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4893, allocations: 301.1 kB / 0.5931 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.4913, allocations: 1.082 MB / 0.5942 GB, free: 6.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002871/0.4941, allocations: 2.178 MB / 0.5963 GB, free: 3.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/0.4989, allocations: 3.371 MB / 0.5996 GB, free: 216 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.326e-05/0.4989, allocations: 15.94 kB / 0.5996 GB, free: 200 kB / 430.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006415/0.5053, allocations: 3.496 MB / 0.6031 GB, free: 12.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/0.5054, allocations: 49.7 kB / 0.6031 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.386e-05/0.5055, allocations: 36 kB / 0.6031 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/0.506, allocations: 120.8 kB / 0.6033 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.5083, allocations: 0.6123 MB / 0.6039 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.5102, allocations: 1.53 MB / 0.6053 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.5125, allocations: 369.8 kB / 0.6057 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.5128, allocations: 140 kB / 0.6058 GB, free: 10 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.003304/0.5161, allocations: 1.717 MB / 0.6075 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.5165, allocations: 162.9 kB / 0.6077 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/0.52, allocations: 1.754 MB / 0.6094 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002531/0.5225, allocations: 1.395 MB / 0.6107 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5225, allocations: 0 / 0.6107 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.5225, allocations: 3.984 kB / 0.6107 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/0.5325, allocations: 4.953 MB / 0.6156 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.5325, allocations: 4 kB / 0.6156 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009179/0.5334, allocations: 218.5 kB / 0.6158 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006267/0.5341, allocations: 264.2 kB / 0.616 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-05/0.5342, allocations: 27.98 kB / 0.6161 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.5354, allocations: 0.8306 MB / 0.6169 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5354, allocations: 0 / 0.6169 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/0.5403, allocations: 2.571 MB / 0.6194 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.5413, allocations: 290.5 kB / 0.6197 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/0.5416, allocations: 24 kB / 0.6197 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.5425, allocations: 83.97 kB / 0.6198 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.5427, allocations: 80.55 kB / 0.6198 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/0.5428, allocations: 35.98 kB / 0.6199 GB, free: 11.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002188/0.545, allocations: 1.237 MB / 0.6211 GB, free: 10.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.545, allocations: 4 kB / 0.6211 GB, free: 10.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003934/0.5489, allocations: 0.9613 MB / 0.622 GB, free: 9.305 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.005928/0.5549, allocations: 3.208 MB / 0.6252 GB, free: 6.074 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004812/0.5597, allocations: 2.378 MB / 0.6275 GB, free: 3.781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.5597, allocations: 448 / 0.6275 GB, free: 3.781 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.5611, allocations: 0.7038 MB / 0.6282 GB, free: 3.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.5631, allocations: 376.4 kB / 0.6285 GB, free: 2.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03669/0.5998, allocations: 20.94 MB / 0.649 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003307/0.6031, allocations: 3.025 MB / 0.6519 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002181/0.6053, allocations: 0.8529 MB / 0.6528 GB, free: 8.652 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/0.6073, allocations: 1.3 MB / 0.654 GB, free: 7.352 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6073, allocations: 4 kB / 0.654 GB, free: 7.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/0.7181, allocations: 54.22 MB / 0.707 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.69, allocations: 0 / 0.707 GB, free: 1.414 MB / 0.5294 GB " [Timeout remaining time 643] (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: 19.683496124998783] Failed to read output from testmodel.py, exit status != 0: 16.841929688001983 16.870751693 16.49970901 Calling exit ...