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.001206/0.001206, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.001282/0.001282, allocations: 214.4 kB / 20.13 MB, free: 3.055 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.433/1.433, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.04503/0.04503, allocations: 5.486 MB / 315 MB, free: 1.605 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="cs",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.002139/0.002139, allocations: 67.89 kB / 441.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.09053, allocations: 54.58 MB / 495.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004541/0.09507, allocations: 4.418 MB / 0.4886 GB, free: 4.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.09768, allocations: 1.648 MB / 0.4902 GB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.09825, allocations: 19.88 kB / 0.4902 GB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008921/0.09915, allocations: 317 kB / 0.4905 GB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000732/0.09988, allocations: 242.4 kB / 0.4907 GB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.1004, allocations: 219.6 kB / 0.4909 GB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02277/0.1232, allocations: 25.85 MB / 0.5162 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008077/0.1312, allocations: 5.698 MB / 0.5218 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/0.1438, allocations: 9.622 MB / 0.5311 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01811/0.1619, allocations: 10.91 MB / 0.5418 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006931/0.1688, allocations: 2.703 MB / 0.5444 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00836/0.1772, allocations: 2.719 MB / 0.5471 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008732/0.1859, allocations: 5.139 MB / 0.5521 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02085/0.2068, allocations: 9.566 MB / 0.5615 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4621/0.6688, allocations: 29.11 MB / 0.5899 GB, free: 51.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6688, allocations: 0 / 0.5899 GB, free: 51.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6688, allocations: 1.219 kB / 0.5899 GB, free: 51.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007797/0.6696, allocations: 2.812 kB / 0.5899 GB, free: 51.6 MB / 446.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.09902/0.7686, allocations: 31.54 MB / 0.6207 GB, free: 39.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.7687, allocations: 7.75 kB / 0.6207 GB, free: 39.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001877/0.7689, allocations: 217.2 kB / 0.6209 GB, free: 39.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007149/0.776, allocations: 1.128 MB / 0.622 GB, free: 38.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008664/0.7847, allocations: 1.539 MB / 0.6235 GB, free: 37.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04701/0.8317, allocations: 18.88 MB / 0.642 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007562/0.8325, allocations: 0.6256 MB / 0.6426 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005474/0.8379, allocations: 0.8192 MB / 0.6434 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03423/0.8722, allocations: 15.69 MB / 0.6587 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/0.8724, allocations: 22.81 kB / 0.6587 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001936/0.8743, allocations: 352 kB / 0.659 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.8744, allocations: 212 kB / 0.6592 GB, free: 5.535 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04115/0.9156, allocations: 17.61 MB / 0.6764 GB, free: 4.023 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1252/1.041, allocations: 57.36 MB / 0.7325 GB, free: 10.77 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03794/1.079, allocations: 20.98 MB / 0.7529 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01367/1.092, allocations: 7.153 MB / 0.7599 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/1.093, allocations: 72.7 kB / 0.76 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.145e-05/1.093, allocations: 82.95 kB / 0.7601 GB, free: 13.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 5.18e-06/1.093, allocations: 0 / 0.7601 GB, free: 13.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.05228/1.145, allocations: 22.04 MB / 0.7816 GB, free: 7.789 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/1.145, allocations: 98.92 kB / 0.7817 GB, free: 7.68 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03119/1.176, allocations: 15.37 MB / 0.7967 GB, free: 8.359 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.00226/1.178, allocations: 113.7 kB / 0.7968 GB, free: 8.242 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.009328/1.188, allocations: 6.209 MB / 0.8029 GB, free: 2.055 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003757/1.192, allocations: 1.656 MB / 0.8045 GB, free: 428 kB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2693/1.461, allocations: 2.135 MB / 0.8066 GB, free: 200.8 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.898e-05/1.461, allocations: 301.1 kB / 0.8069 GB, free: 200.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01572/1.477, allocations: 7.652 MB / 0.8143 GB, free: 200.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01648/1.493, allocations: 8.836 MB / 0.823 GB, free: 197.1 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0282/1.521, allocations: 14.39 MB / 0.837 GB, free: 191.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.261e-05/1.521, allocations: 7.531 kB / 0.837 GB, free: 191.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05381/1.575, allocations: 25.68 MB / 0.8621 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/1.575, allocations: 24.7 kB / 0.8621 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/1.575, allocations: 24.84 kB / 0.8622 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04403/1.619, allocations: 26.41 MB / 0.8879 GB, free: 145.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006616/1.626, allocations: 1.494 MB / 0.8894 GB, free: 143.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1131/1.739, allocations: 108.7 MB / 0.9956 GB, free: 28.71 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01904/1.758, allocations: 2.508 MB / 0.998 GB, free: 26.79 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002711/1.761, allocations: 383.7 kB / 0.9984 GB, free: 26.41 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.008477/1.769, allocations: 4.56 MB / 1.003 GB, free: 21.85 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003175/1.772, allocations: 1.235 MB / 1.004 GB, free: 20.76 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03231/1.805, allocations: 17.56 MB / 1.021 GB, free: 3.156 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/1.805, allocations: 45.59 kB / 1.021 GB, free: 3.113 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/1.805, allocations: 7.922 kB / 1.021 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.027e-05/1.805, allocations: 19.92 kB / 1.021 GB, free: 3.086 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3422/2.147, allocations: 32.29 MB / 1.053 GB, free: 179.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.673e-05/2.147, allocations: 0 / 1.053 GB, free: 179.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/2.149, allocations: 451.6 kB / 1.053 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02486/2.174, allocations: 15.81 MB / 1.069 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001497/2.175, allocations: 125 kB / 1.069 GB, free: 175.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06304/2.238, allocations: 25.19 MB / 1.093 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.238, allocations: 0 / 1.093 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03022/2.268, allocations: 16.82 MB / 1.11 GB, free: 134.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008146/2.277, allocations: 2.82 MB / 1.113 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00458/2.281, allocations: 75.75 kB / 1.113 GB, free: 132.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01194/2.293, allocations: 1.311 MB / 1.114 GB, free: 130.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007251/2.294, allocations: 219.2 kB / 1.114 GB, free: 130.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001171/2.295, allocations: 151.9 kB / 1.114 GB, free: 130.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01935/2.314, allocations: 10.61 MB / 1.125 GB, free: 120 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.7e-07/2.314, allocations: 0.8438 kB / 1.125 GB, free: 120 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01345/2.328, allocations: 2.973 MB / 1.128 GB, free: 117.1 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.03314/2.361, allocations: 17.5 MB / 1.145 GB, free: 99.61 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.06766/2.429, allocations: 30.38 MB / 1.174 GB, free: 68.55 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/2.429, allocations: 0 / 1.174 GB, free: 68.55 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.04656/2.475, allocations: 15.06 MB / 1.189 GB, free: 53.53 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02427/2.499, allocations: 3.143 MB / 1.192 GB, free: 50.43 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5354/3.035, allocations: 142.9 MB / 1.332 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007925/3.043, allocations: 8.562 MB / 1.34 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009946/3.053, allocations: 3.776 MB / 1.344 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007981/3.061, allocations: 4.998 MB / 1.349 GB, free: 130.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.493e-06/3.061, allocations: 0 / 1.349 GB, free: 130.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9741/4.035, allocations: 328.1 MB / 1.669 GB, free: 125.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.22/55.26, allocations: 7.922 kB / 1.669 GB, free: 125.2 MB / 0.5919 GB " [Timeout remaining time 604] (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 os._exit(0), Time elapsed: 59.015356772986706] Failed to read output from testmodel.py, exit status != 0: 55.569843520992436 55.583165063 54.911158997 Calling exit ...