Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.001353/0.001353, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001825/0.001825, allocations: 221.4 kB / 22.26 MB, free: 5.125 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.617/1.617, allocations: 230.6 MB / 256 MB, free: 8.008 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.03018/0.03018, allocations: 5.481 MB / 317.9 MB, free: 13.74 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",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.003264/0.003264, allocations: 67.89 kB / 447.8 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1363, allocations: 54.62 MB / 0.4906 GB, free: 11.63 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006624/0.1429, allocations: 4.453 MB / 0.495 GB, free: 7.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.1462, allocations: 1.648 MB / 0.4966 GB, free: 5.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.1466, allocations: 11.94 kB / 0.4966 GB, free: 5.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009567/0.1476, allocations: 320.9 kB / 0.4969 GB, free: 5.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006495/0.1482, allocations: 262.4 kB / 0.4971 GB, free: 4.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.1487, allocations: 223.6 kB / 0.4973 GB, free: 4.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2989/0.4476, allocations: 25.78 MB / 0.5225 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007114/0.4547, allocations: 3.693 MB / 0.5261 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01402/0.4687, allocations: 9.636 MB / 0.5355 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02228/0.491, allocations: 10.92 MB / 0.5462 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008115/0.4991, allocations: 2.702 MB / 0.5488 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/0.5109, allocations: 2.726 MB / 0.5515 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00957/0.5205, allocations: 5.138 MB / 0.5565 GB, free: 316 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02494/0.5454, allocations: 9.573 MB / 0.5659 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03988/0.5853, allocations: 29.11 MB / 0.5943 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5853, allocations: 0 / 0.5943 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5853, allocations: 3.938 kB / 0.5943 GB, free: 11.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008131/0.5861, allocations: 4 kB / 0.5943 GB, free: 11.69 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.1198/0.7059, allocations: 31.51 MB / 0.6251 GB, free: 12.08 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.706, allocations: 8.031 kB / 0.6251 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007054/0.713, allocations: 1.12 MB / 0.6262 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00938/0.7224, allocations: 1.542 MB / 0.6277 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06163/0.784, allocations: 18.77 MB / 0.646 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/0.785, allocations: 0.6295 MB / 0.6466 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005978/0.791, allocations: 0.8164 MB / 0.6474 GB, free: 5.461 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05216/0.8432, allocations: 15.69 MB / 0.6627 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004152/0.8436, allocations: 21.5 kB / 0.6628 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004218/0.8478, allocations: 356 kB / 0.6631 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002492/0.8481, allocations: 212 kB / 0.6633 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05117/0.8992, allocations: 17.61 MB / 0.6805 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6224/1.522, allocations: 57.43 MB / 0.7366 GB, free: 145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03565/1.557, allocations: 17.35 MB / 0.7535 GB, free: 144.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01314/1.57, allocations: 7.154 MB / 0.7605 GB, free: 142.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005072/1.571, allocations: 72.92 kB / 0.7606 GB, free: 142.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.987e-05/1.571, allocations: 79.02 kB / 0.7607 GB, free: 142.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 9.688e-06/1.571, allocations: 0 / 0.7607 GB, free: 142.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.05151/1.623, allocations: 22.05 MB / 0.7822 GB, free: 134.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/1.623, allocations: 99.67 kB / 0.7823 GB, free: 134 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03123/1.654, allocations: 15.36 MB / 0.7973 GB, free: 122.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001799/1.656, allocations: 109.7 kB / 0.7974 GB, free: 122.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.007589/1.663, allocations: 6.207 MB / 0.8035 GB, free: 117.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003103/1.666, allocations: 1.653 MB / 0.8051 GB, free: 116.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01222/1.679, allocations: 2.149 MB / 0.8072 GB, free: 114.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/1.679, allocations: 305.1 kB / 0.8075 GB, free: 113.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01654/1.695, allocations: 7.646 MB / 0.8149 GB, free: 106.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01639/1.712, allocations: 8.844 MB / 0.8236 GB, free: 97.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02913/1.741, allocations: 14.39 MB / 0.8376 GB, free: 82.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.021e-05/1.741, allocations: 9.031 kB / 0.8376 GB, free: 82.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06642/1.807, allocations: 25.69 MB / 0.8627 GB, free: 56.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.57e-05/1.807, allocations: 14.69 kB / 0.8627 GB, free: 56.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.632e-05/1.807, allocations: 28 kB / 0.8628 GB, free: 56.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04836/1.856, allocations: 26.1 MB / 0.8883 GB, free: 30.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006852/1.862, allocations: 1.495 MB / 0.8897 GB, free: 28.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.406/2.268, allocations: 103.8 MB / 0.9911 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01906/2.288, allocations: 2.504 MB / 0.9935 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002417/2.29, allocations: 387.4 kB / 0.9939 GB, free: 175.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * Torn equation systems: 1 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2} * Without analytic Jacobian (size): 0 systems 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.009147/2.299, allocations: 4.563 MB / 0.9984 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003976/2.303, allocations: 1.236 MB / 0.9996 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03948/2.343, allocations: 17.55 MB / 1.017 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.106e-05/2.343, allocations: 45.41 kB / 1.017 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/2.343, allocations: 3.75 kB / 1.017 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001459/2.343, allocations: 23.91 kB / 1.017 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07891/2.422, allocations: 32.45 MB / 1.048 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.831e-05/2.422, allocations: 0 / 1.048 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/2.424, allocations: 458.6 kB / 1.049 GB, free: 141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02544/2.449, allocations: 15.81 MB / 1.064 GB, free: 125.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001998/2.451, allocations: 115.9 kB / 1.064 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07194/2.523, allocations: 25.19 MB / 1.089 GB, free: 99.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/2.523, allocations: 0 / 1.089 GB, free: 99.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03524/2.558, allocations: 16.82 MB / 1.105 GB, free: 83.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01041/2.569, allocations: 2.861 MB / 1.108 GB, free: 80.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004337/2.573, allocations: 72 kB / 1.108 GB, free: 80.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01172/2.585, allocations: 1.315 MB / 1.11 GB, free: 79.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006334/2.585, allocations: 231 kB / 1.11 GB, free: 79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001127/2.587, allocations: 147.9 kB / 1.11 GB, free: 78.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01827/2.605, allocations: 10.61 MB / 1.12 GB, free: 68.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/2.605, allocations: 0 / 1.12 GB, free: 68.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01186/2.617, allocations: 2.971 MB / 1.123 GB, free: 65.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0338/2.651, allocations: 17.51 MB / 1.14 GB, free: 47.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.07632/2.727, allocations: 30.4 MB / 1.17 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/2.727, allocations: 0 / 1.17 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.2908/3.018, allocations: 15.04 MB / 1.185 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01957/3.037, allocations: 3.156 MB / 1.188 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2962/3.333, allocations: 143.1 MB / 1.328 GB, free: 82.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01404/3.347, allocations: 8.559 MB / 1.336 GB, free: 73.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01224/3.36, allocations: 3.783 MB / 1.34 GB, free: 69.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009035/3.369, allocations: 5.002 MB / 1.344 GB, free: 64.74 MB / 0.5919 GB Notification: Performance of SimCode: time 1.132e-06/3.369, allocations: 0 / 1.344 GB, free: 64.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.992/4.361, allocations: 335.4 MB / 1.672 GB, free: 170.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 58.85/63.21, allocations: 11.94 kB / 1.672 GB, free: 170.8 MB / 0.6075 GB " [Timeout remaining time 597] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 68.94960405399615] Failed to read output from testmodel.py, exit status != 0: 63.49683833600284 63.508862063 62.920692665 Calling exit ...