Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.0007706/0.0007706, allocations: 101.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.000818/0.000818, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9072/0.9072, 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 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.7675/0.7675, 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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0009304/0.0009304, allocations: 63.44 kB / 0.7182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5242/0.5252, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002881/0.5281, allocations: 2.036 MB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.5298, allocations: 1.015 MB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.921e-05/0.5299, allocations: 14.84 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.046e-05/0.5299, allocations: 21.19 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.5302, allocations: 95.14 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.5306, allocations: 191.6 kB / 0.8211 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.5309, allocations: 291.8 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.531, allocations: 42.58 kB / 0.8214 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.5311, allocations: 113.1 kB / 0.8215 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.5313, allocations: 130.2 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.5314, allocations: 17.94 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.5317, allocations: 277.9 kB / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.5318, allocations: 55.47 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.755e-05/0.5319, allocations: 102.3 kB / 0.8221 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.5322, allocations: 333.6 kB / 0.8224 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5322, allocations: 0 / 0.8224 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5322, allocations: 1.25 kB / 0.8224 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.5323, allocations: 0 / 0.8224 GB, free: 14.24 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008057/0.5331, allocations: 0.5541 MB / 0.8229 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5331, allocations: 8.844 kB / 0.8229 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.5332, allocations: 47.66 kB / 0.823 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.5333, allocations: 38.56 kB / 0.823 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.5336, allocations: 238.3 kB / 0.8233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.5336, allocations: 11.73 kB / 0.8233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.5337, allocations: 18.06 kB / 0.8233 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.5341, allocations: 229.3 kB / 0.8235 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5341, allocations: 1 kB / 0.8235 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.5341, allocations: 14.59 kB / 0.8235 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.5341, allocations: 3.734 kB / 0.8235 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.5345, allocations: 200.9 kB / 0.8237 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.5354, allocations: 0.8667 MB / 0.8246 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.5359, allocations: 232 kB / 0.8248 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.5361, allocations: 108.3 kB / 0.8249 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.5361, allocations: 2.188 kB / 0.8249 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.5361, allocations: 34.33 kB / 0.8249 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.5361, allocations: 0 / 0.8249 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.000723/0.5368, allocations: 340.2 kB / 0.8252 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.5369, allocations: 80.33 kB / 0.8253 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.5371, allocations: 271.2 kB / 0.8256 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.5371, allocations: 25.7 kB / 0.8256 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.5372, allocations: 163.8 kB / 0.8258 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.5372, allocations: 57.52 kB / 0.8258 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.5373, allocations: 40.56 kB / 0.8258 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.5374, allocations: 336.9 kB / 0.8262 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.5376, allocations: 89.45 kB / 0.8263 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.5378, allocations: 145.2 kB / 0.8264 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.5382, allocations: 242.5 kB / 0.8266 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5382, allocations: 0 / 0.8266 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000496/0.5387, allocations: 300.4 kB / 0.8269 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5387, allocations: 6.281 kB / 0.8269 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.5387, allocations: 2.219 kB / 0.8269 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5387, allocations: 2.875 kB / 0.8269 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.5389, allocations: 64.55 kB / 0.827 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5389, allocations: 3.234 kB / 0.827 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.539, allocations: 42.59 kB / 0.827 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.539, allocations: 11.22 kB / 0.827 GB, free: 11.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 9.006e-05/0.5391, allocations: 135.8 kB / 0.8272 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.5392, allocations: 37.58 kB / 0.8272 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.5397, allocations: 294.6 kB / 0.8275 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5397, allocations: 2.297 kB / 0.8275 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5397, allocations: 0.9688 kB / 0.8275 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5397, allocations: 2.375 kB / 0.8275 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.54, allocations: 237 kB / 0.8277 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.54, allocations: 5.844 kB / 0.8277 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.5401, allocations: 53.34 kB / 0.8278 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5401, allocations: 2.688 kB / 0.8278 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.5401, allocations: 5.703 kB / 0.8278 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5401, allocations: 1.406 kB / 0.8278 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5401, allocations: 0.5625 kB / 0.8278 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.5407, allocations: 445.7 kB / 0.8282 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.5407, allocations: 29.19 kB / 0.8282 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.5407, allocations: 5.438 kB / 0.8282 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.5409, allocations: 27.8 kB / 0.8283 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.5409, allocations: 18.69 kB / 0.8283 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.5409, allocations: 8.094 kB / 0.8283 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001448/0.5411, allocations: 192.2 kB / 0.8285 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5411, allocations: 0 / 0.8285 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000244/0.5413, allocations: 56.17 kB / 0.8285 GB, free: 10.24 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0007926/0.5421, allocations: 0.9987 MB / 0.8295 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.5426, allocations: 222.4 kB / 0.8297 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5426, allocations: 0 / 0.8297 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.5428, allocations: 112.6 kB / 0.8298 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.5432, allocations: 70.86 kB / 0.8299 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.5465, allocations: 2.714 MB / 0.8325 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.5466, allocations: 143.2 kB / 0.8327 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.831e-05/0.5467, allocations: 26.25 kB / 0.8327 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.5468, allocations: 90.48 kB / 0.8328 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.5468, allocations: 4 kB / 0.8328 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.5696, allocations: 7.585 MB / 0.8402 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/7.459, allocations: 5.812 kB / 0.8402 GB, free: 4.434 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.24007241986692] Failed to read output from testmodel.py, exit status != 0: 7.539204285945743 7.548691798 7.014517155 Calling exit ...