Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007685/0.0007685, 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.001285/0.001285, allocations: 212.1 kB / 22.25 MB, free: 3.574 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.9078/0.9078, allocations: 230.6 MB / 256 MB, free: 9.582 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.7626/0.7626, allocations: 203.5 MB / 0.5039 GB, free: 10.69 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.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_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.000935/0.000935, allocations: 70.31 kB / 0.7178 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5398, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002465/0.5423, allocations: 1.83 MB / 0.8192 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003729/0.546, allocations: 3.416 MB / 0.8225 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.5461, allocations: 3.938 kB / 0.8225 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.5469, allocations: 161 kB / 0.8227 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.5471, allocations: 77.2 kB / 0.8227 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.5473, allocations: 58.47 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.5477, allocations: 268.7 kB / 0.823 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.5478, allocations: 19.45 kB / 0.8231 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.5479, allocations: 78.42 kB / 0.8231 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.548, allocations: 73.38 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.5481, allocations: 6.688 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.5481, allocations: 31.19 kB / 0.8232 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.5482, allocations: 49.05 kB / 0.8233 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.5483, allocations: 74.39 kB / 0.8234 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.5486, allocations: 200 kB / 0.8236 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5486, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.867e-06/0.5486, allocations: 4 kB / 0.8236 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.5486, allocations: 1.656 kB / 0.8236 GB, free: 13.19 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.0009666/0.5496, allocations: 468 kB / 0.824 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.417e-05/0.5497, allocations: 9.469 kB / 0.824 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.5497, allocations: 35.83 kB / 0.8241 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.5501, allocations: 60.8 kB / 0.8241 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.5506, allocations: 207.2 kB / 0.8243 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.5506, allocations: 6.969 kB / 0.8243 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.5506, allocations: 3.062 kB / 0.8243 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.5509, allocations: 136.9 kB / 0.8244 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5509, allocations: 5.062 kB / 0.8245 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5509, allocations: 4.703 kB / 0.8245 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.5509, allocations: 9.812 kB / 0.8245 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.5512, allocations: 133.6 kB / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.5518, allocations: 396.7 kB / 0.825 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.5521, allocations: 165.3 kB / 0.8251 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.5522, allocations: 100.5 kB / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.5522, allocations: 1.375 kB / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.5523, allocations: 33.83 kB / 0.8253 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.5523, allocations: 0 / 0.8253 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005646/0.5528, allocations: 286.7 kB / 0.8255 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.5529, allocations: 52.47 kB / 0.8256 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.5531, allocations: 244.7 kB / 0.8258 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.5531, allocations: 30.45 kB / 0.8258 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.5532, allocations: 140.3 kB / 0.826 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.5533, allocations: 44.77 kB / 0.826 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.5533, allocations: 32.8 kB / 0.8261 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5534, allocations: 336.5 kB / 0.8264 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.5536, allocations: 69.23 kB / 0.8264 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.5537, allocations: 78.31 kB / 0.8265 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.554, allocations: 157.8 kB / 0.8267 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.554, allocations: 0 / 0.8267 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003459/0.5543, allocations: 213.1 kB / 0.8269 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5544, allocations: 3.25 kB / 0.8269 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5544, allocations: 0.6562 kB / 0.8269 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.5544, allocations: 2.25 kB / 0.8269 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.5545, allocations: 36.48 kB / 0.8269 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5545, allocations: 0 / 0.8269 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.182e-05/0.5546, allocations: 20.89 kB / 0.8269 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.5546, allocations: 18.27 kB / 0.8269 GB, free: 11 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.0001018/0.5547, allocations: 139.5 kB / 0.8271 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.5548, allocations: 25.58 kB / 0.8271 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.5548, allocations: 29.09 kB / 0.8271 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5548, allocations: 0 / 0.8271 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5548, allocations: 0 / 0.8271 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5548, allocations: 0.7969 kB / 0.8271 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.555, allocations: 226 kB / 0.8273 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.555, allocations: 0.5156 kB / 0.8273 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.5552, allocations: 38.06 kB / 0.8274 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5552, allocations: 0 / 0.8274 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.5552, allocations: 7.078 kB / 0.8274 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5552, allocations: 1.219 kB / 0.8274 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5552, allocations: 7.875 kB / 0.8274 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.5556, allocations: 314.8 kB / 0.8277 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.5556, allocations: 41.45 kB / 0.8277 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.5556, allocations: 0 / 0.8277 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.5557, allocations: 14.44 kB / 0.8278 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.5558, allocations: 12.5 kB / 0.8278 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.5558, allocations: 4.266 kB / 0.8278 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001305/0.5559, allocations: 185.2 kB / 0.8279 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5559, allocations: 0 / 0.8279 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002014/0.5561, allocations: 42.02 kB / 0.828 GB, free: 10.29 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.0006353/0.5568, allocations: 0.8533 MB / 0.8288 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.5571, allocations: 159.6 kB / 0.829 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5571, allocations: 0 / 0.829 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.5573, allocations: 87.31 kB / 0.8291 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.5576, allocations: 47.05 kB / 0.8291 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.5602, allocations: 2.377 MB / 0.8314 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.5604, allocations: 139.2 kB / 0.8316 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.5606, allocations: 51.41 kB / 0.8316 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.439e-05/0.5607, allocations: 59.39 kB / 0.8317 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.5607, allocations: 4.625 kB / 0.8317 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.5831, allocations: 5.368 MB / 0.8369 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/7.048, allocations: 8.984 kB / 0.8369 GB, free: 6.297 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.86887850984931] Failed to read output from testmodel.py, exit status != 0: 7.127157547976822 7.13967091 6.588712273 Calling exit ...