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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03027/0.03027, allocations: 5.467 MB / 308.1 MB, free: 4.426 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 63.91 kB / 432.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09289, allocations: 53.39 MB / 485.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005878/0.09877, allocations: 4.401 MB / 489.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.1016, allocations: 1.597 MB / 491.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.1019, allocations: 8 kB / 491.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008519/0.1028, allocations: 320.9 kB / 491.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.1033, allocations: 242.4 kB / 492 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.1037, allocations: 211.6 kB / 492.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02422/0.128, allocations: 25.63 MB / 0.5057 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008968/0.1369, allocations: 5.674 MB / 0.5113 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3966/0.5335, allocations: 9.342 MB / 0.5204 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02063/0.5542, allocations: 10.87 MB / 0.531 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01022/0.5644, allocations: 2.707 MB / 0.5336 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.5759, allocations: 2.708 MB / 0.5363 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01112/0.587, allocations: 5.122 MB / 0.5413 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01969/0.6067, allocations: 9.535 MB / 0.5506 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03392/0.6406, allocations: 29.01 MB / 0.5789 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6406, allocations: 3.094 kB / 0.5789 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6406, allocations: 0 / 0.5789 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008219/0.6415, allocations: 0 / 0.5789 GB, free: 11.54 MB / 414.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.1404/0.7819, allocations: 31.83 MB / 0.61 GB, free: 11.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/0.7819, allocations: 8.031 kB / 0.61 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008575/0.7905, allocations: 1.118 MB / 0.6111 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009964/0.8005, allocations: 1.526 MB / 0.6126 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06119/0.8617, allocations: 19.06 MB / 0.6312 GB, free: 6.188 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000765/0.8624, allocations: 0.6334 MB / 0.6318 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00529/0.8677, allocations: 0.8125 MB / 0.6326 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05447/0.9222, allocations: 15.68 MB / 0.6479 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004454/0.9226, allocations: 25.5 kB / 0.648 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004278/0.9269, allocations: 348 kB / 0.6483 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000283/0.9272, allocations: 212 kB / 0.6485 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04588/0.9731, allocations: 17.59 MB / 0.6657 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.372/1.345, allocations: 57.33 MB / 0.7217 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03327/1.378, allocations: 20.96 MB / 0.7421 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01231/1.391, allocations: 7.156 MB / 0.7491 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/1.391, allocations: 67.45 kB / 0.7492 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/1.391, allocations: 78.77 kB / 0.7493 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=448): time 5.46e-06/1.391, allocations: 0 / 0.7493 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=448): time 0.1031/1.494, allocations: 36.28 MB / 0.7847 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/1.494, allocations: 98.92 kB / 0.7848 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02962/1.524, allocations: 15.19 MB / 0.7996 GB, free: 98.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001693/1.525, allocations: 109.7 kB / 0.7997 GB, free: 98.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.006314/1.532, allocations: 6.21 MB / 0.8058 GB, free: 93.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002955/1.535, allocations: 1.656 MB / 0.8074 GB, free: 92.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01162/1.546, allocations: 2.111 MB / 0.8095 GB, free: 90.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.035e-05/1.546, allocations: 301.1 kB / 0.8098 GB, free: 89.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01424/1.561, allocations: 7.645 MB / 0.8172 GB, free: 82.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01947/1.58, allocations: 8.834 MB / 0.8259 GB, free: 72.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02811/1.608, allocations: 14.4 MB / 0.8399 GB, free: 58.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.178e-05/1.608, allocations: 4 kB / 0.8399 GB, free: 58.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1231/1.731, allocations: 39.89 MB / 0.8789 GB, free: 18.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/1.731, allocations: 16 kB / 0.8789 GB, free: 18.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-05/1.731, allocations: 29.34 kB / 0.8789 GB, free: 18.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04755/1.779, allocations: 26 MB / 0.9043 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007697/1.787, allocations: 1.494 MB / 0.9058 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5849/2.371, allocations: 202.9 MB / 1.104 GB, free: 26.17 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0193/2.391, allocations: 2.589 MB / 1.106 GB, free: 24.16 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002585/2.393, allocations: 375.7 kB / 1.107 GB, free: 23.8 MB / 0.5607 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.009575/2.403, allocations: 4.528 MB / 1.111 GB, free: 19.27 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004532/2.407, allocations: 1.216 MB / 1.112 GB, free: 18.18 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09854/2.506, allocations: 31.71 MB / 1.143 GB, free: 2.43 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/2.506, allocations: 44 kB / 1.143 GB, free: 2.387 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/2.506, allocations: 0 / 1.143 GB, free: 2.387 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/2.506, allocations: 19.92 kB / 1.143 GB, free: 2.367 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3677/2.874, allocations: 46.4 MB / 1.189 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/2.874, allocations: 0 / 1.189 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/2.876, allocations: 453.9 kB / 1.189 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02427/2.9, allocations: 15.46 MB / 1.204 GB, free: 159.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00181/2.902, allocations: 114.1 kB / 1.204 GB, free: 159.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2936/3.195, allocations: 115 MB / 1.317 GB, free: 48.21 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/3.195, allocations: 0 / 1.317 GB, free: 48.21 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09922/3.295, allocations: 30.86 MB / 1.347 GB, free: 17.79 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0116/3.306, allocations: 2.715 MB / 1.35 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004752/3.311, allocations: 75.94 kB / 1.35 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0124/3.323, allocations: 1.397 MB / 1.351 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009856/3.324, allocations: 279.8 kB / 1.351 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001377/3.326, allocations: 135.9 kB / 1.351 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01891/3.345, allocations: 10.5 MB / 1.362 GB, free: 2.805 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.5e-07/3.345, allocations: 0 / 1.362 GB, free: 2.805 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.2592/3.604, allocations: 3.718 MB / 1.365 GB, free: 163.4 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.09511/3.699, allocations: 31.55 MB / 1.396 GB, free: 162.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07544/3.774, allocations: 32.66 MB / 1.428 GB, free: 150.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/3.774, allocations: 0 / 1.428 GB, free: 150.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.05475/3.829, allocations: 17.12 MB / 1.445 GB, free: 136 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01846/3.848, allocations: 3.113 MB / 1.448 GB, free: 133 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6498/4.498, allocations: 171.2 MB / 1.615 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01225/4.51, allocations: 8.689 MB / 1.623 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01056/4.52, allocations: 3.774 MB / 1.627 GB, free: 159 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007947/4.528, allocations: 5 MB / 1.632 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/4.528, allocations: 0 / 1.632 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.15/5.678, allocations: 398.8 MB / 2.021 GB, free: 109.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 56.94/62.62, allocations: 13.09 kB / 2.021 GB, free: 109.5 MB / 0.5919 GB " [Timeout remaining time 597] (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: 66.72912798402831] Failed to read output from testmodel.py, exit status != 0: 62.905253247823566 62.926236536 62.281257887 Calling exit ...