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.001258/0.001258, 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.001473/0.001473, allocations: 210.5 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.785 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.03049/0.03049, allocations: 5.482 MB / 317.9 MB, free: 13.52 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.002242/0.002242, allocations: 79.86 kB / 446.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1129, allocations: 54.61 MB / 0.489 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.006061/0.119, allocations: 4.006 MB / 0.4929 GB, free: 8.871 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.1222, allocations: 1.531 MB / 0.4944 GB, free: 7.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006202/0.1228, allocations: 11.94 kB / 0.4944 GB, free: 7.324 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1239, allocations: 289.1 kB / 0.4947 GB, free: 7.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008063/0.1247, allocations: 254.3 kB / 0.4949 GB, free: 6.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.1253, allocations: 219.6 kB / 0.4951 GB, free: 6.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.4023/0.5276, allocations: 25.76 MB / 0.5203 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006805/0.5344, allocations: 3.756 MB / 0.5239 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.548, allocations: 9.754 MB / 0.5335 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02131/0.5693, allocations: 12.59 MB / 0.5458 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008614/0.5779, allocations: 2.704 MB / 0.5484 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/0.5894, allocations: 2.719 MB / 0.5511 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01036/0.5997, allocations: 5.145 MB / 0.5561 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02419/0.6239, allocations: 7.893 MB / 0.5638 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03898/0.6629, allocations: 29.26 MB / 0.5924 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.6629, allocations: 0 / 0.5924 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6629, allocations: 0 / 0.5924 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007589/0.6637, allocations: 0 / 0.5924 GB, free: 12.79 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.1159/0.7796, allocations: 31.52 MB / 0.6231 GB, free: 13.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.7796, allocations: 8.031 kB / 0.6232 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006332/0.7859, allocations: 1.118 MB / 0.6242 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009973/0.7959, allocations: 1.545 MB / 0.6258 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0617/0.8576, allocations: 18.77 MB / 0.6441 GB, free: 8.016 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009398/0.8586, allocations: 0.6295 MB / 0.6447 GB, free: 7.383 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004728/0.8633, allocations: 0.8163 MB / 0.6455 GB, free: 6.566 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04495/0.9082, allocations: 15.72 MB / 0.6608 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/0.9086, allocations: 21.41 kB / 0.6609 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003541/0.9121, allocations: 348 kB / 0.6612 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002152/0.9124, allocations: 212 kB / 0.6614 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04943/0.9618, allocations: 17.58 MB / 0.6786 GB, free: 4.348 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3764/1.338, allocations: 54.11 MB / 0.7314 GB, free: 151.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03443/1.373, allocations: 17.33 MB / 0.7483 GB, free: 149.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01285/1.385, allocations: 7.129 MB / 0.7553 GB, free: 147.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/1.386, allocations: 63.83 kB / 0.7553 GB, free: 147.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/1.386, allocations: 77.7 kB / 0.7554 GB, free: 147.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 7.544e-06/1.386, allocations: 0 / 0.7554 GB, free: 147.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04264/1.428, allocations: 22.05 MB / 0.777 GB, free: 139.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.428, allocations: 100.1 kB / 0.7771 GB, free: 139.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0238/1.452, allocations: 15.49 MB / 0.7922 GB, free: 129.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001806/1.454, allocations: 113.7 kB / 0.7923 GB, free: 129.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005932/1.46, allocations: 6.215 MB / 0.7984 GB, free: 124.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002359/1.462, allocations: 1.65 MB / 0.8 GB, free: 123.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005422/1.468, allocations: 2.141 MB / 0.8021 GB, free: 121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/1.468, allocations: 301.1 kB / 0.8023 GB, free: 120.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0146/1.482, allocations: 7.656 MB / 0.8098 GB, free: 113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01511/1.498, allocations: 8.839 MB / 0.8185 GB, free: 103.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0269/1.524, allocations: 14.38 MB / 0.8325 GB, free: 89.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-05/1.524, allocations: 4 kB / 0.8325 GB, free: 89.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05959/1.584, allocations: 25.69 MB / 0.8576 GB, free: 63.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.584, allocations: 12 kB / 0.8576 GB, free: 63.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/1.584, allocations: 32.09 kB / 0.8576 GB, free: 63.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04473/1.629, allocations: 26.4 MB / 0.8834 GB, free: 36.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006792/1.636, allocations: 1.494 MB / 0.8849 GB, free: 35.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3741/2.01, allocations: 103.5 MB / 0.986 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01942/2.029, allocations: 2.511 MB / 0.9884 GB, free: 153.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003121/2.032, allocations: 384.9 kB / 0.9888 GB, free: 153.4 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.01038/2.043, allocations: 4.559 MB / 0.9933 GB, free: 151.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003564/2.046, allocations: 1.229 MB / 0.9945 GB, free: 151.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03137/2.078, allocations: 17.56 MB / 1.012 GB, free: 144 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-05/2.078, allocations: 45.25 kB / 1.012 GB, free: 144 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/2.078, allocations: 4.984 kB / 1.012 GB, free: 144 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/2.078, allocations: 23.91 kB / 1.012 GB, free: 144 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07238/2.15, allocations: 30.63 MB / 1.042 GB, free: 118.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/2.15, allocations: 4 kB / 1.042 GB, free: 118.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/2.152, allocations: 446.8 kB / 1.042 GB, free: 117.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02312/2.175, allocations: 15.81 MB / 1.057 GB, free: 102.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/2.176, allocations: 119.9 kB / 1.058 GB, free: 102 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06499/2.241, allocations: 25.19 MB / 1.082 GB, free: 76.91 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.241, allocations: 0 / 1.082 GB, free: 76.91 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03376/2.275, allocations: 16.82 MB / 1.099 GB, free: 60.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009699/2.284, allocations: 2.865 MB / 1.101 GB, free: 57.48 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004879/2.289, allocations: 72 kB / 1.101 GB, free: 57.41 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01166/2.301, allocations: 1.311 MB / 1.103 GB, free: 56.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009122/2.302, allocations: 244 kB / 1.103 GB, free: 55.86 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001408/2.303, allocations: 143.9 kB / 1.103 GB, free: 55.72 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.02147/2.325, allocations: 10.61 MB / 1.113 GB, free: 45.15 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.21e-07/2.325, allocations: 0 / 1.113 GB, free: 45.15 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01414/2.339, allocations: 2.972 MB / 1.116 GB, free: 42.3 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.03682/2.376, allocations: 17.51 MB / 1.133 GB, free: 24.74 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07377/2.45, allocations: 30.38 MB / 1.163 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/2.45, allocations: 0 / 1.163 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.3197/2.769, allocations: 15.05 MB / 1.178 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02008/2.789, allocations: 3.143 MB / 1.181 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2995/3.089, allocations: 143 MB / 1.321 GB, free: 74.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01357/3.102, allocations: 8.196 MB / 1.329 GB, free: 66.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01239/3.115, allocations: 3.783 MB / 1.332 GB, free: 62.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01003/3.125, allocations: 4.998 MB / 1.337 GB, free: 57.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.753e-06/3.125, allocations: 0 / 1.337 GB, free: 57.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9784/4.103, allocations: 334.4 MB / 1.664 GB, free: 180.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.55/48.65, allocations: 9.047 kB / 1.664 GB, free: 180.7 MB / 0.6075 GB " [Timeout remaining time 611] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 52.57647437881678] Failed to read output from testmodel.py, exit status != 0: 48.97558514541015 48.995713869 48.328504081 Calling exit ...