Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005662/0.005662, allocations: 102.7 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001144, allocations: 190.1 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 301.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9172/0.9172, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 103.8 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4019, allocations: 86.97 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00245/0.4044, allocations: 1.573 MB / 0.7679 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.4057, allocations: 0.9025 MB / 0.7688 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.4058, allocations: 3.938 kB / 0.7688 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.4058, allocations: 3.938 kB / 0.7688 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.406, allocations: 31.72 kB / 0.7688 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.4064, allocations: 138.7 kB / 0.769 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.4065, allocations: 79.7 kB / 0.7691 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.4066, allocations: 19.58 kB / 0.7691 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.4067, allocations: 35.86 kB / 0.7691 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.4068, allocations: 35.84 kB / 0.7691 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.4068, allocations: 4 kB / 0.7691 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.4072, allocations: 287.6 kB / 0.7694 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.4072, allocations: 8 kB / 0.7694 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.4073, allocations: 31.8 kB / 0.7695 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.4075, allocations: 151.6 kB / 0.7696 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4075, allocations: 0 / 0.7696 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4075, allocations: 4 kB / 0.7696 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.4075, allocations: 3.938 kB / 0.7696 GB, free: 0.6133 MB / 0.5294 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.0004974/0.408, allocations: 409.6 kB / 0.77 GB, free: 172 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.4081, allocations: 8.031 kB / 0.77 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.4082, allocations: 16.83 kB / 0.77 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.4084, allocations: 180.3 kB / 0.7702 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.4084, allocations: 384 / 0.7702 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.4084, allocations: 8.375 kB / 0.7702 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.4086, allocations: 69.95 kB / 0.7703 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.4086, allocations: 0 / 0.7703 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4086, allocations: 0 / 0.7703 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.4086, allocations: 0 / 0.7703 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.4087, allocations: 47.91 kB / 0.7703 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.4092, allocations: 304.7 kB / 0.7706 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.4093, allocations: 50.56 kB / 0.7707 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.4094, allocations: 32.95 kB / 0.7707 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.4094, allocations: 0 / 0.7707 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4094, allocations: 30.56 kB / 0.7707 GB, free: 15.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.4094, allocations: 4 kB / 0.7707 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003374/0.4098, allocations: 113.5 kB / 0.7708 GB, free: 15.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.4098, allocations: 51.41 kB / 0.7709 GB, free: 15.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4099, allocations: 132.3 kB / 0.771 GB, free: 15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.4099, allocations: 25.7 kB / 0.771 GB, free: 14.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.41, allocations: 92.14 kB / 0.7711 GB, free: 14.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.41, allocations: 15.8 kB / 0.7711 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.4101, allocations: 25.72 kB / 0.7712 GB, free: 14.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.4102, allocations: 322.8 kB / 0.7715 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.4102, allocations: 19.98 kB / 0.7715 GB, free: 14.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-05/0.4103, allocations: 24.23 kB / 0.7715 GB, free: 14.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.4105, allocations: 56.89 kB / 0.7716 GB, free: 14.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4105, allocations: 0 / 0.7716 GB, free: 14.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002093/0.4107, allocations: 97.56 kB / 0.7717 GB, free: 14.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4107, allocations: 11.94 kB / 0.7717 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.4107, allocations: 3.938 kB / 0.7717 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.4107, allocations: 0 / 0.7717 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4108, allocations: 15.98 kB / 0.7717 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4108, allocations: 0 / 0.7717 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.4109, allocations: 11.84 kB / 0.7717 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.4109, allocations: 0 / 0.7717 GB, free: 14.26 MB / 0.545 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.79e-05/0.411, allocations: 128.2 kB / 0.7718 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.4111, allocations: 4 kB / 0.7718 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.4113, allocations: 97.91 kB / 0.7719 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4113, allocations: 0 / 0.7719 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4113, allocations: 4 kB / 0.7719 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4113, allocations: 3.984 kB / 0.7719 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.4115, allocations: 189.5 kB / 0.7721 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4115, allocations: 4 kB / 0.7721 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.4116, allocations: 15.98 kB / 0.7721 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4116, allocations: 0 / 0.7721 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4116, allocations: 0 / 0.7721 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4116, allocations: 0 / 0.7721 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4116, allocations: 0 / 0.7721 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.4119, allocations: 199.4 kB / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.4119, allocations: 85.02 kB / 0.7724 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.4119, allocations: 0 / 0.7724 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.412, allocations: 4 kB / 0.7724 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.4121, allocations: 11.98 kB / 0.7724 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.4121, allocations: 0 / 0.7724 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.4122, allocations: 102.4 kB / 0.7725 GB, free: 13.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4122, allocations: 0 / 0.7725 GB, free: 13.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002347/0.4124, allocations: 23.98 kB / 0.7725 GB, free: 13.31 MB / 0.545 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.000148/0.4126, allocations: 115.2 kB / 0.7726 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.4128, allocations: 59.84 kB / 0.7727 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4128, allocations: 0 / 0.7727 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.214e-05/0.4129, allocations: 31.97 kB / 0.7727 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.4131, allocations: 10.75 kB / 0.7727 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.4135, allocations: 199.3 kB / 0.7729 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.4137, allocations: 0.6885 MB / 0.7736 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.336e-05/0.4138, allocations: 11.69 kB / 0.7736 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.4138, allocations: 11.44 kB / 0.7736 GB, free: 12.13 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.4138, allocations: 7.938 kB / 0.7736 GB, free: 12.12 MB / 0.545 GB Notification: Performance of Templates: time 0.00319/0.417, allocations: 1.121 MB / 0.7747 GB, free: 11.01 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)