Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0009334/0.0009334, allocations: 109.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.001016/0.001016, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.961/0.961, allocations: 230.6 MB / 256 MB, free: 9.645 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7757/0.7757, allocations: 203.8 MB / 0.5042 GB, free: 10.48 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.0009271/0.0009271, allocations: 70.97 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5511, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003604/0.5547, allocations: 1.853 MB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004379/0.5591, allocations: 3.457 MB / 0.823 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.5592, allocations: 1.438 kB / 0.823 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008914/0.5601, allocations: 183.5 kB / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.5603, allocations: 78.61 kB / 0.8232 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.5605, allocations: 57.41 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005088/0.561, allocations: 283.4 kB / 0.8236 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.5611, allocations: 19.88 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.5613, allocations: 79.3 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.5614, allocations: 81.17 kB / 0.8237 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.5614, allocations: 8.312 kB / 0.8237 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.5615, allocations: 23.27 kB / 0.8238 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.5616, allocations: 67.42 kB / 0.8238 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.5617, allocations: 70.5 kB / 0.8239 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.562, allocations: 213.8 kB / 0.8241 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.562, allocations: 1.312 kB / 0.8241 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.562, allocations: 0 / 0.8241 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.562, allocations: 0 / 0.8241 GB, free: 12.89 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007427/0.5627, allocations: 467.9 kB / 0.8245 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.5628, allocations: 10.12 kB / 0.8245 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.5628, allocations: 43.31 kB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005255/0.5633, allocations: 120.7 kB / 0.8247 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.5637, allocations: 212.3 kB / 0.8249 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.5637, allocations: 9.688 kB / 0.8249 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.5638, allocations: 3.594 kB / 0.8249 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.564, allocations: 157.1 kB / 0.8251 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.5641, allocations: 0 / 0.8251 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5641, allocations: 3.984 kB / 0.8251 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.5641, allocations: 10.44 kB / 0.8251 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.5644, allocations: 166.9 kB / 0.8252 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/0.5651, allocations: 419.3 kB / 0.8256 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.5654, allocations: 180.1 kB / 0.8258 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.5656, allocations: 106.4 kB / 0.8259 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.5656, allocations: 3.172 kB / 0.8259 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.5656, allocations: 36.14 kB / 0.826 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.5656, allocations: 0 / 0.826 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005763/0.5662, allocations: 322.5 kB / 0.8263 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.5662, allocations: 54.11 kB / 0.8263 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.5664, allocations: 255.3 kB / 0.8266 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5665, allocations: 26.22 kB / 0.8266 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.5665, allocations: 140.4 kB / 0.8267 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.5666, allocations: 49.25 kB / 0.8268 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.5666, allocations: 33.03 kB / 0.8268 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5667, allocations: 336.8 kB / 0.8271 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.5669, allocations: 87.08 kB / 0.8272 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.5671, allocations: 86.02 kB / 0.8273 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.5674, allocations: 180.9 kB / 0.8275 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5674, allocations: 0 / 0.8275 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005595/0.568, allocations: 235.7 kB / 0.8277 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.568, allocations: 6.172 kB / 0.8277 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.568, allocations: 0 / 0.8277 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.568, allocations: 5.594 kB / 0.8277 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.5682, allocations: 42.22 kB / 0.8277 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5682, allocations: 0.5625 kB / 0.8277 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.5683, allocations: 17.47 kB / 0.8277 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.5683, allocations: 17.36 kB / 0.8278 GB, free: 10.62 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 (13): * Single equations (assignments): 13 * 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 0.0001128/0.5684, allocations: 133.5 kB / 0.8279 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.5685, allocations: 27.59 kB / 0.8279 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.5685, allocations: 35.31 kB / 0.828 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.5685, allocations: 6.812 kB / 0.828 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5685, allocations: 0 / 0.828 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5685, allocations: 1.953 kB / 0.828 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.5688, allocations: 234.2 kB / 0.8282 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5688, allocations: 1.75 kB / 0.8282 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.5689, allocations: 37.19 kB / 0.8282 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5689, allocations: 2.281 kB / 0.8282 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.5689, allocations: 7.094 kB / 0.8282 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5689, allocations: 1.375 kB / 0.8282 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.569, allocations: 7.984 kB / 0.8282 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.5694, allocations: 342 kB / 0.8286 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.5695, allocations: 39.52 kB / 0.8286 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.5695, allocations: 2.312 kB / 0.8286 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.5696, allocations: 16.25 kB / 0.8286 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.5697, allocations: 13.23 kB / 0.8286 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.5697, allocations: 8.328 kB / 0.8286 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001505/0.5698, allocations: 188 kB / 0.8288 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5698, allocations: 0 / 0.8288 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002085/0.57, allocations: 37.84 kB / 0.8289 GB, free: 9.902 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 (13): * Single equations (assignments): 13 * 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.0007256/0.5708, allocations: 0.8665 MB / 0.8297 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004283/0.5712, allocations: 189.2 kB / 0.8299 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5712, allocations: 0 / 0.8299 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.5714, allocations: 102.4 kB / 0.83 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.5717, allocations: 53.44 kB / 0.83 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.575, allocations: 2.483 MB / 0.8325 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.5752, allocations: 134.2 kB / 0.8326 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000208/0.5754, allocations: 64.27 kB / 0.8326 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.5755, allocations: 65.56 kB / 0.8327 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of SimCode: time 1.312e-06/0.5755, allocations: 3.938 kB / 0.8327 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.5982, allocations: 5.847 MB / 0.8384 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.677/7.275, allocations: 3.703 kB / 0.8384 GB, free: 5.383 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.200567510444671] Failed to read output from testmodel.py, exit status != 0: 7.35434412304312 7.367358125 6.802684625 Calling exit ...