Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.000773/0.000773, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000812/0.000812, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8727/0.8727, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7169/0.7169, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.207e-05, allocations: 3.062 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002235/0.002257, allocations: 1.589 MB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.003587, allocations: 0.927 MB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.003666, allocations: 0 / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.003699, allocations: 3.938 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.003955, allocations: 31.72 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.004331, allocations: 155.5 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.004509, allocations: 91.56 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.004629, allocations: 7.938 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.004808, allocations: 51.89 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.004891, allocations: 23.97 kB / 0.6209 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.004912, allocations: 8 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.005214, allocations: 271.6 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.005235, allocations: 19.91 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.005266, allocations: 15.94 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.005534, allocations: 191.4 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.005539, allocations: 0 / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.184e-06/0.005541, allocations: 0 / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.005548, allocations: 3.938 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005313/0.006079, allocations: 333.7 kB / 0.6217 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.00613, allocations: 13.47 kB / 0.6217 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.006168, allocations: 34.75 kB / 0.6217 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.006366, allocations: 36.81 kB / 0.6217 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.006617, allocations: 131.7 kB / 0.6219 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.006629, allocations: 4.375 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.006639, allocations: 384 / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.006795, allocations: 66.22 kB / 0.6219 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.006804, allocations: 8.172 kB / 0.6219 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.006816, allocations: 8.125 kB / 0.622 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006822, allocations: 3.938 kB / 0.622 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.006924, allocations: 47.89 kB / 0.622 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.007302, allocations: 255.9 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.007414, allocations: 50.5 kB / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.007463, allocations: 28.97 kB / 0.6223 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.007483, allocations: 4 kB / 0.6223 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.007506, allocations: 34.56 kB / 0.6224 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.007508, allocations: 0 / 0.6224 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0002667/0.007774, allocations: 113.5 kB / 0.6225 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.007804, allocations: 55.41 kB / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.007898, allocations: 130.2 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.007915, allocations: 29.7 kB / 0.6227 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.007962, allocations: 96.12 kB / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.00798, allocations: 23.8 kB / 0.6228 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.008013, allocations: 17.7 kB / 0.6228 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.008091, allocations: 318.8 kB / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.008144, allocations: 23.98 kB / 0.6231 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.008183, allocations: 23.97 kB / 0.6232 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.008273, allocations: 52.78 kB / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008275, allocations: 0 / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001415/0.008417, allocations: 97.92 kB / 0.6233 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.008432, allocations: 4 kB / 0.6233 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.008438, allocations: 64 / 0.6233 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.008454, allocations: 8 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.00854, allocations: 15.98 kB / 0.6233 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008545, allocations: 0 / 0.6233 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.008575, allocations: 7.984 kB / 0.6233 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.008583, allocations: 4 kB / 0.6233 GB, free: 8.074 MB / 0.5886 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 (6): * Single equations (assignments): 6 * 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 7.28e-05/0.008655, allocations: 122.8 kB / 0.6235 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.008682, allocations: 11.89 kB / 0.6235 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.008879, allocations: 94.11 kB / 0.6236 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.008882, allocations: 0 / 0.6236 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.008888, allocations: 4 kB / 0.6236 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.008891, allocations: 0 / 0.6236 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.009031, allocations: 156.7 kB / 0.6237 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009033, allocations: 0 / 0.6237 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.009079, allocations: 19.92 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.009082, allocations: 4 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.00909, allocations: 0 / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.009094, allocations: 4 kB / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009095, allocations: 0 / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.00928, allocations: 191.3 kB / 0.6239 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.009292, allocations: 7.953 kB / 0.6239 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.009306, allocations: 0 / 0.6239 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.009348, allocations: 8 kB / 0.6239 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.009391, allocations: 7.984 kB / 0.6239 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.009396, allocations: 4.125 kB / 0.6239 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.009447, allocations: 109.3 kB / 0.624 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009447, allocations: 0 / 0.624 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001803/0.009628, allocations: 19.94 kB / 0.6241 GB, free: 7.25 MB / 0.5886 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 (6): * Single equations (assignments): 6 * 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.0004613/0.01009, allocations: 0.7435 MB / 0.6248 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.01024, allocations: 59.95 kB / 0.6249 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01024, allocations: 0 / 0.6249 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.33e-05/0.01029, allocations: 31.92 kB / 0.6249 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.01052, allocations: 14.17 kB / 0.6249 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.01176, allocations: 1.452 MB / 0.6263 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.676e-05/0.01182, allocations: 83.31 kB / 0.6264 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.493e-05/0.01187, allocations: 7.984 kB / 0.6264 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.01192, allocations: 28.48 kB / 0.6264 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of SimCode: time 8.81e-07/0.01192, allocations: 3.938 kB / 0.6264 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.03189, allocations: 3.06 MB / 0.6294 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.068, allocations: 7.938 kB / 0.6294 GB, free: 1.805 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.668126987293363] Failed to read output from testmodel.py, exit status != 0: 7.150160229764879 7.161556133 7.152900642 Calling exit ...