Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.001384/0.001384, allocations: 109 kB / 16.45 MB, free: 6.508 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.001499/0.001499, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.03065/0.03065, allocations: 5.491 MB / 314.3 MB, free: 14.9 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.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",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.002173/0.002173, allocations: 67.89 kB / 440.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1143, allocations: 54.58 MB / 495.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.007952/0.1222, allocations: 4.41 MB / 499.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004602/0.1268, allocations: 1.655 MB / 0.4895 GB, free: 11.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007581/0.1276, allocations: 11.94 kB / 0.4895 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.1288, allocations: 316.9 kB / 0.4898 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007318/0.1296, allocations: 254.4 kB / 0.49 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.1301, allocations: 215.6 kB / 0.4903 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02493/0.155, allocations: 25.85 MB / 0.5155 GB, free: 352 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2167/0.3716, allocations: 5.686 MB / 0.5211 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01309/0.3847, allocations: 9.625 MB / 0.5305 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01907/0.4038, allocations: 10.91 MB / 0.5411 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008971/0.4128, allocations: 2.704 MB / 0.5437 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/0.4251, allocations: 2.719 MB / 0.5464 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01087/0.436, allocations: 5.136 MB / 0.5514 GB, free: 344 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0247/0.4607, allocations: 9.57 MB / 0.5608 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03637/0.497, allocations: 29.13 MB / 0.5892 GB, free: 13.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.497, allocations: 0 / 0.5892 GB, free: 13.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.497, allocations: 3.984 kB / 0.5892 GB, free: 13.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007507/0.4978, allocations: 0 / 0.5892 GB, free: 13.23 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.1163/0.6141, allocations: 31.53 MB / 0.62 GB, free: 13.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.6141, allocations: 8.031 kB / 0.62 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007239/0.6214, allocations: 1.126 MB / 0.6211 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.6316, allocations: 1.542 MB / 0.6226 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.062/0.6936, allocations: 18.88 MB / 0.641 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009168/0.6945, allocations: 0.6256 MB / 0.6417 GB, free: 7.711 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004962/0.6994, allocations: 0.8164 MB / 0.6425 GB, free: 6.895 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04698/0.7464, allocations: 15.7 MB / 0.6578 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003774/0.7468, allocations: 21.12 kB / 0.6578 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003814/0.7506, allocations: 351.9 kB / 0.6581 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002276/0.7508, allocations: 212 kB / 0.6583 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04683/0.7977, allocations: 17.61 MB / 0.6755 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5351/1.333, allocations: 57.37 MB / 0.7316 GB, free: 152.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03543/1.368, allocations: 20.96 MB / 0.752 GB, free: 146.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01386/1.382, allocations: 7.157 MB / 0.759 GB, free: 144.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/1.382, allocations: 70.33 kB / 0.7591 GB, free: 144.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/1.382, allocations: 79.84 kB / 0.7592 GB, free: 144.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 7.293e-06/1.382, allocations: 3.906 kB / 0.7592 GB, free: 144.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04616/1.429, allocations: 22.05 MB / 0.7807 GB, free: 135.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/1.429, allocations: 97.83 kB / 0.7808 GB, free: 135.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02463/1.453, allocations: 15.36 MB / 0.7958 GB, free: 123.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001636/1.455, allocations: 113.7 kB / 0.7959 GB, free: 123.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.007849/1.463, allocations: 6.209 MB / 0.802 GB, free: 118.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003128/1.466, allocations: 1.655 MB / 0.8036 GB, free: 116.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007459/1.473, allocations: 2.147 MB / 0.8057 GB, free: 114.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.019e-05/1.473, allocations: 301.1 kB / 0.806 GB, free: 114.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0139/1.487, allocations: 7.652 MB / 0.8134 GB, free: 106.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01492/1.502, allocations: 8.833 MB / 0.8221 GB, free: 97.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02697/1.529, allocations: 14.4 MB / 0.8361 GB, free: 82.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.415e-05/1.529, allocations: 8 kB / 0.8361 GB, free: 82.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06373/1.593, allocations: 25.69 MB / 0.8612 GB, free: 57.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/1.593, allocations: 20.12 kB / 0.8612 GB, free: 57.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/1.593, allocations: 28 kB / 0.8613 GB, free: 57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04736/1.64, allocations: 26.41 MB / 0.887 GB, free: 30.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00664/1.647, allocations: 1.494 MB / 0.8885 GB, free: 28.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3675/2.014, allocations: 108.7 MB / 0.9947 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01882/2.033, allocations: 2.515 MB / 0.9971 GB, free: 147 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002609/2.036, allocations: 376.6 kB / 0.9975 GB, free: 146.9 MB / 0.5763 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.01098/2.047, allocations: 4.569 MB / 1.002 GB, free: 145.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004086/2.051, allocations: 1.232 MB / 1.003 GB, free: 145.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03855/2.09, allocations: 17.56 MB / 1.02 GB, free: 136.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-05/2.09, allocations: 45.22 kB / 1.02 GB, free: 136.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/2.09, allocations: 0 / 1.02 GB, free: 136.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-05/2.09, allocations: 19.92 kB / 1.02 GB, free: 136.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07389/2.164, allocations: 32.29 MB / 1.052 GB, free: 106.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.724e-05/2.164, allocations: 7.922 kB / 1.052 GB, free: 106.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/2.165, allocations: 455.4 kB / 1.052 GB, free: 105.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02584/2.191, allocations: 15.81 MB / 1.068 GB, free: 89.96 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001501/2.193, allocations: 119.9 kB / 1.068 GB, free: 89.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06998/2.263, allocations: 25.19 MB / 1.092 GB, free: 64.71 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/2.263, allocations: 0 / 1.092 GB, free: 64.71 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03442/2.297, allocations: 16.82 MB / 1.109 GB, free: 47.96 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007747/2.305, allocations: 2.815 MB / 1.112 GB, free: 45.18 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004312/2.309, allocations: 75.92 kB / 1.112 GB, free: 45.11 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01166/2.321, allocations: 1.318 MB / 1.113 GB, free: 43.79 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008567/2.322, allocations: 215.2 kB / 1.113 GB, free: 43.58 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001533/2.323, allocations: 149.4 kB / 1.113 GB, free: 43.43 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0191/2.342, allocations: 10.61 MB / 1.124 GB, free: 32.87 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2e-07/2.342, allocations: 0 / 1.124 GB, free: 32.87 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01324/2.356, allocations: 2.97 MB / 1.127 GB, free: 30.01 MB / 0.5763 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.03955/2.395, allocations: 17.51 MB / 1.144 GB, free: 12.45 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.3145/2.71, allocations: 30.37 MB / 1.173 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/2.71, allocations: 2.016 kB / 1.173 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.07831/2.788, allocations: 15.05 MB / 1.188 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02541/2.813, allocations: 3.148 MB / 1.191 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.297/3.11, allocations: 143 MB / 1.331 GB, free: 60.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01396/3.124, allocations: 8.559 MB / 1.339 GB, free: 52.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01227/3.137, allocations: 3.779 MB / 1.343 GB, free: 48.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01008/3.147, allocations: 4.994 MB / 1.348 GB, free: 43.47 MB / 0.5919 GB Notification: Performance of SimCode: time 1.864e-06/3.147, allocations: 0 / 1.348 GB, free: 43.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9426/4.089, allocations: 328.1 MB / 1.668 GB, free: 168.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 56.45/60.54, allocations: 2.844 kB / 1.668 GB, free: 168.2 MB / 0.6075 GB " [Timeout remaining time 599] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 63.86145950699574] Failed to read output from testmodel.py, exit status != 0: 60.81515469199803 60.835047008 60.333615144 Calling exit ...