Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0008098/0.0008098, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008671/0.0008671, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.973/0.973, allocations: 230.6 MB / 256 MB, free: 9.805 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.7876/0.7876, allocations: 203.8 MB / 0.5042 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 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.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001336/0.001336, allocations: 66.77 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.513, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002238/0.5152, allocations: 1.909 MB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003533/0.5187, allocations: 3.699 MB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.5188, allocations: 6.438 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.5196, allocations: 180.2 kB / 0.8235 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.5198, allocations: 73.64 kB / 0.8236 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.5199, allocations: 56.3 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.5203, allocations: 268.2 kB / 0.8239 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.5204, allocations: 24.02 kB / 0.8239 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.5205, allocations: 83.02 kB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.5206, allocations: 75.08 kB / 0.8241 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.5206, allocations: 11.94 kB / 0.8241 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.5207, allocations: 34.22 kB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.5208, allocations: 50.67 kB / 0.8242 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.193e-05/0.5209, allocations: 89.05 kB / 0.8242 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.5211, allocations: 196.6 kB / 0.8244 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5211, allocations: 1.469 kB / 0.8244 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5211, allocations: 0 / 0.8244 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5211, allocations: 0 / 0.8244 GB, free: 12.76 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.0006495/0.5218, allocations: 470.3 kB / 0.8249 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.5218, allocations: 9.25 kB / 0.8249 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.5218, allocations: 39.52 kB / 0.8249 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/0.5223, allocations: 117.5 kB / 0.825 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.5227, allocations: 215.3 kB / 0.8252 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5227, allocations: 3.219 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.5227, allocations: 6.859 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.523, allocations: 152.8 kB / 0.8254 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.523, allocations: 0 / 0.8254 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.523, allocations: 5.375 kB / 0.8254 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.5231, allocations: 9.844 kB / 0.8254 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.5233, allocations: 150.6 kB / 0.8256 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.5239, allocations: 438.8 kB / 0.826 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.5242, allocations: 168.6 kB / 0.8261 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.5243, allocations: 104.9 kB / 0.8262 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.5244, allocations: 5.5 kB / 0.8262 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.5244, allocations: 32.16 kB / 0.8263 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.5244, allocations: 0 / 0.8263 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005549/0.5249, allocations: 308.9 kB / 0.8266 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.525, allocations: 51.41 kB / 0.8266 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.5252, allocations: 247.4 kB / 0.8269 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.5252, allocations: 25.7 kB / 0.8269 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.5252, allocations: 137.6 kB / 0.827 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.5253, allocations: 47.7 kB / 0.8271 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.5253, allocations: 34.19 kB / 0.8271 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.5254, allocations: 339.5 kB / 0.8274 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.5256, allocations: 78.84 kB / 0.8275 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.5257, allocations: 83.61 kB / 0.8276 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.526, allocations: 178.2 kB / 0.8277 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.526, allocations: 0 / 0.8277 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003445/0.5263, allocations: 218.4 kB / 0.8279 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5264, allocations: 9.453 kB / 0.828 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5264, allocations: 0 / 0.828 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.5264, allocations: 1.125 kB / 0.828 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.5266, allocations: 38.66 kB / 0.828 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5266, allocations: 5.875 kB / 0.828 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.321e-05/0.5267, allocations: 20.77 kB / 0.828 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.5267, allocations: 9.75 kB / 0.828 GB, free: 10.52 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.0001003/0.5268, allocations: 143.8 kB / 0.8282 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.5268, allocations: 22.66 kB / 0.8282 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.5269, allocations: 30.02 kB / 0.8282 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5269, allocations: 7.938 kB / 0.8282 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5269, allocations: 1.156 kB / 0.8282 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5269, allocations: 1.266 kB / 0.8282 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.5271, allocations: 257 kB / 0.8285 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5271, allocations: 0 / 0.8285 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.5272, allocations: 34.53 kB / 0.8285 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5272, allocations: 5.344 kB / 0.8285 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.5273, allocations: 3.562 kB / 0.8285 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5273, allocations: 1.094 kB / 0.8285 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5273, allocations: 0 / 0.8285 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.5277, allocations: 335.4 kB / 0.8288 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.5277, allocations: 34.06 kB / 0.8289 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.5277, allocations: 5.703 kB / 0.8289 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.5278, allocations: 15.94 kB / 0.8289 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.5279, allocations: 13.78 kB / 0.8289 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.5279, allocations: 4.75 kB / 0.8289 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001243/0.528, allocations: 181.9 kB / 0.8291 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.528, allocations: 0 / 0.8291 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001936/0.5282, allocations: 48.05 kB / 0.8291 GB, free: 9.793 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.0006128/0.5288, allocations: 0.8636 MB / 0.83 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.5292, allocations: 173.2 kB / 0.8301 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5292, allocations: 0 / 0.8301 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.5294, allocations: 100.4 kB / 0.8302 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.5297, allocations: 51.52 kB / 0.8303 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.5324, allocations: 2.41 MB / 0.8326 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.5326, allocations: 0.7423 MB / 0.8334 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.5328, allocations: 60.11 kB / 0.8334 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.5329, allocations: 59.86 kB / 0.8335 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.5329, allocations: 4 kB / 0.8335 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.5589, allocations: 4.947 MB / 0.8383 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/7.224, allocations: 8.797 kB / 0.8383 GB, free: 5.449 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.06798581709154] Failed to read output from testmodel.py, exit status != 0: 7.304767274064943 7.324516644 6.799353773 Calling exit ...