Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0009091/0.0009091, 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.00118/0.00118, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9798/0.9798, 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 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.7657/0.7657, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.0008675/0.0008675, allocations: 66.92 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.538, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002372/0.5404, allocations: 2.096 MB / 0.8198 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003631/0.544, allocations: 3.936 MB / 0.8237 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-05/0.5441, allocations: 6.5 kB / 0.8237 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.5447, allocations: 170.7 kB / 0.8239 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.5449, allocations: 83.11 kB / 0.8239 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.5454, allocations: 336.1 kB / 0.8243 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005191/0.5459, allocations: 453 kB / 0.8247 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.546, allocations: 43.53 kB / 0.8247 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.5461, allocations: 142.7 kB / 0.8249 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.5463, allocations: 151.3 kB / 0.825 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.5463, allocations: 21.41 kB / 0.825 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.5467, allocations: 324.5 kB / 0.8253 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.5468, allocations: 118.8 kB / 0.8255 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.547, allocations: 138.5 kB / 0.8256 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005812/0.5476, allocations: 0.5887 MB / 0.8262 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5476, allocations: 0 / 0.8262 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5476, allocations: 0 / 0.8262 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.5476, allocations: 4 kB / 0.8262 GB, free: 11.9 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009294/0.5485, allocations: 0.747 MB / 0.8269 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.5485, allocations: 13.88 kB / 0.8269 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.5486, allocations: 44.02 kB / 0.8269 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.5496, allocations: 313 kB / 0.8272 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.5502, allocations: 353.9 kB / 0.8276 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.5502, allocations: 8.469 kB / 0.8276 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.5502, allocations: 11.25 kB / 0.8276 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.5507, allocations: 259.4 kB / 0.8278 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.5507, allocations: 6.297 kB / 0.8279 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.5507, allocations: 4 kB / 0.8279 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5507, allocations: 2.688 kB / 0.8279 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006003/0.5513, allocations: 346.1 kB / 0.8282 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.5523, allocations: 0.6245 MB / 0.8288 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.5526, allocations: 222.2 kB / 0.829 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.553, allocations: 179.5 kB / 0.8292 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.553, allocations: 23.58 kB / 0.8292 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.553, allocations: 37.34 kB / 0.8292 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.553, allocations: 0 / 0.8292 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001283/0.5543, allocations: 0.5899 MB / 0.8298 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.5543, allocations: 54.19 kB / 0.8299 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.5548, allocations: 455.3 kB / 0.8303 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.5548, allocations: 26.36 kB / 0.8303 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.5549, allocations: 198 kB / 0.8305 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.555, allocations: 49.27 kB / 0.8306 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/0.555, allocations: 52.27 kB / 0.8306 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5551, allocations: 350.3 kB / 0.831 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.5556, allocations: 346.9 kB / 0.8313 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.556, allocations: 349.4 kB / 0.8316 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009433/0.557, allocations: 0.5371 MB / 0.8321 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.557, allocations: 3.938 kB / 0.8321 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001046/0.558, allocations: 0.7823 MB / 0.8329 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.5581, allocations: 44.5 kB / 0.8329 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5581, allocations: 1.156 kB / 0.8329 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5581, allocations: 1.188 kB / 0.833 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.5584, allocations: 72.84 kB / 0.833 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.5584, allocations: 2.375 kB / 0.833 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.5586, allocations: 57.55 kB / 0.8331 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.5586, allocations: 9.219 kB / 0.8331 GB, free: 8.555 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001313/0.5587, allocations: 159.5 kB / 0.8332 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.5588, allocations: 44.27 kB / 0.8333 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008508/0.5596, allocations: 468.7 kB / 0.8337 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.5596, allocations: 2.906 kB / 0.8337 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5596, allocations: 4 kB / 0.8337 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5596, allocations: 5.562 kB / 0.8337 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.5599, allocations: 323.1 kB / 0.834 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5599, allocations: 3.938 kB / 0.8341 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.5602, allocations: 59.34 kB / 0.8341 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5602, allocations: 1.094 kB / 0.8341 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.5602, allocations: 5.766 kB / 0.8341 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5602, allocations: 4.906 kB / 0.8341 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5602, allocations: 3.984 kB / 0.8341 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.561, allocations: 0.5211 MB / 0.8346 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.5611, allocations: 63.7 kB / 0.8347 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.5611, allocations: 1.781 kB / 0.8347 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.5613, allocations: 37.91 kB / 0.8347 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.5614, allocations: 24.06 kB / 0.8348 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.5614, allocations: 6.641 kB / 0.8348 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002851/0.5617, allocations: 312.4 kB / 0.8351 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5617, allocations: 0 / 0.8351 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003779/0.562, allocations: 125.2 kB / 0.8352 GB, free: 7.555 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.001144/0.5632, allocations: 1.122 MB / 0.8363 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009339/0.5641, allocations: 0.6468 MB / 0.8369 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.5641, allocations: 0 / 0.8369 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.5645, allocations: 183.8 kB / 0.8371 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.5648, allocations: 65.97 kB / 0.8371 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/0.5709, allocations: 5.481 MB / 0.8425 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.5711, allocations: 199.9 kB / 0.8427 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.5713, allocations: 62.45 kB / 0.8427 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.5715, allocations: 121.6 kB / 0.8429 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of SimCode: time 9.31e-07/0.5715, allocations: 0 / 0.8429 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.5951, allocations: 10.33 MB / 0.853 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/7.505, allocations: 8.078 kB / 0.853 GB, free: 13.61 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.408004958182573] Failed to read output from testmodel.py, exit status != 0: 7.586201142054051 7.599565539 7.049570224 Calling exit ...