Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.0008734/0.0008734, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001066/0.001066, allocations: 206.6 kB / 22.24 MB, free: 3.582 MB / 13.93 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 0.9368/0.9368, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7887/0.7887, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009654/0.0009654, allocations: 70.95 kB / 0.7178 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5721/0.5731, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00195/0.575, allocations: 1.519 MB / 0.8189 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007579/0.5758, allocations: 461.6 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.5758, allocations: 6.875 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.5759, allocations: 8.719 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.5759, allocations: 12.8 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.5762, allocations: 32.14 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.5763, allocations: 57.55 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.5764, allocations: 8.875 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.5766, allocations: 33.2 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.5766, allocations: 26.14 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.5767, allocations: 7.688 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.5767, allocations: 4.312 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.5767, allocations: 11.19 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.5767, allocations: 24.02 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.5769, allocations: 49.36 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5769, allocations: 0 / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5769, allocations: 0 / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5769, allocations: 0.5156 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004622/0.5774, allocations: 298.3 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.5774, allocations: 14.09 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.5774, allocations: 31.41 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.5776, allocations: 28.23 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.5778, allocations: 129.4 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.5778, allocations: 384 / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.5778, allocations: 3.875 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.578, allocations: 57.98 kB / 0.8201 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.578, allocations: 3.938 kB / 0.8201 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.578, allocations: 0 / 0.8201 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.578, allocations: 9.297 kB / 0.8201 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.5781, allocations: 31.47 kB / 0.8202 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.5785, allocations: 245.3 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.5786, allocations: 42.39 kB / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.5786, allocations: 18.42 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5786, allocations: 4 kB / 0.8205 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.5787, allocations: 32.77 kB / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.5787, allocations: 7.062 kB / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002493/0.5789, allocations: 83.83 kB / 0.8206 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.5789, allocations: 57.38 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.5792, allocations: 119.8 kB / 0.8207 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.5792, allocations: 32.86 kB / 0.8208 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.5793, allocations: 89.92 kB / 0.8209 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.5793, allocations: 5.969 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.5793, allocations: 19.53 kB / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.5794, allocations: 324.2 kB / 0.8212 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.5794, allocations: 17 kB / 0.8212 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.5795, allocations: 16.88 kB / 0.8212 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/0.5796, allocations: 40.2 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5796, allocations: 0 / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001217/0.5797, allocations: 81.94 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.5797, allocations: 1.562 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5797, allocations: 7.531 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5797, allocations: 0.5156 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.5798, allocations: 8.125 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.5798, allocations: 0 / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.5799, allocations: 5.75 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.5799, allocations: 4.594 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.5799, allocations: 117.1 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.58, allocations: 8.594 kB / 0.8215 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.58, allocations: 5.266 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.58, allocations: 6.688 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.58, allocations: 0 / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.58, allocations: 0.6562 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.5801, allocations: 140.7 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5801, allocations: 0.6562 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.5802, allocations: 8.375 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5802, allocations: 1.891 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.5802, allocations: 0.5156 kB / 0.8216 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5802, allocations: 3.938 kB / 0.8217 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5802, allocations: 10.33 kB / 0.8217 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.5804, allocations: 172.8 kB / 0.8218 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.5804, allocations: 11.03 kB / 0.8218 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.5804, allocations: 1.406 kB / 0.8218 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.446e-05/0.5804, allocations: 9.641 kB / 0.8218 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.5805, allocations: 7.75 kB / 0.8219 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.5805, allocations: 0 / 0.8219 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.5805, allocations: 102.8 kB / 0.822 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5805, allocations: 0 / 0.822 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001494/0.5807, allocations: 5.812 kB / 0.822 GB, free: 13.58 MB / 0.6198 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003693/0.581, allocations: 0.7098 MB / 0.8227 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.5812, allocations: 35.33 kB / 0.8227 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5812, allocations: 0 / 0.8227 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.5812, allocations: 26.52 kB / 0.8227 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.5814, allocations: 4.656 kB / 0.8227 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.5825, allocations: 1.378 MB / 0.8241 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.5826, allocations: 68.33 kB / 0.8241 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.5826, allocations: 3.359 kB / 0.8241 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.5827, allocations: 20.44 kB / 0.8241 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of SimCode: time 7.82e-07/0.5827, allocations: 0 / 0.8241 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.6019, allocations: 2.057 MB / 0.8262 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/7.421, allocations: 11.09 kB / 0.8262 GB, free: 10.69 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.377335323020816] Failed to read output from testmodel.py, exit status != 0: 7.499219289049506 7.510492985 6.931286573 Calling exit ...