Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.00116/0.00116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001158/0.001159, allocations: 190.5 kB / 16.25 MB, free: 6.582 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 472.6 MB / 0.7448 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 71.92 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4128, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003012/0.4159, allocations: 1.656 MB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.4174, allocations: 0.9231 MB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.4175, allocations: 7.938 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.942e-05/0.4176, allocations: 3.984 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.4178, allocations: 19.86 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.4181, allocations: 119.8 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.4183, allocations: 79.66 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.4184, allocations: 12 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.631e-05/0.4185, allocations: 35.89 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.4187, allocations: 31.86 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.4187, allocations: 7.938 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.4191, allocations: 279.6 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.4191, allocations: 15.92 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.4192, allocations: 35.8 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.4194, allocations: 151.9 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4194, allocations: 0 / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4194, allocations: 4 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4194, allocations: 4 kB / 1.071 GB, free: 7.316 MB / 0.8262 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.0005807/0.42, allocations: 403.1 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4201, allocations: 12.02 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.4202, allocations: 12.84 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.4204, allocations: 186.1 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.4204, allocations: 4.375 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.4204, allocations: 384 / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.4206, allocations: 69.97 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4207, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4207, allocations: 8 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4207, allocations: 3.984 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.4208, allocations: 43.91 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.4214, allocations: 304.7 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.4215, allocations: 50.56 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.4216, allocations: 32.91 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.4216, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.4217, allocations: 38.48 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.4217, allocations: 4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0003909/0.4221, allocations: 105.6 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4221, allocations: 55.41 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.4223, allocations: 127.4 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.4223, allocations: 25.7 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.4223, allocations: 100.1 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.4224, allocations: 11.75 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.4224, allocations: 25.66 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.4226, allocations: 326.8 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.4227, allocations: 19.98 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.4227, allocations: 23.92 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.4229, allocations: 56.83 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4229, allocations: 0 / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002348/0.4231, allocations: 93.56 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4232, allocations: 4 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4232, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.4232, allocations: 4 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.4233, allocations: 12.42 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4234, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.4234, allocations: 4 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4234, allocations: 11.98 kB / 1.073 GB, free: 4.961 MB / 0.8262 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 9.268e-05/0.4235, allocations: 121.7 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.4236, allocations: 7.906 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.4239, allocations: 102 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4239, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4239, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4239, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.4241, allocations: 189.5 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4241, allocations: 4 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.4242, allocations: 11.98 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4242, allocations: 7.938 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4242, allocations: 0 / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4242, allocations: 0 / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4242, allocations: 3.938 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.4245, allocations: 187.4 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.4246, allocations: 85.11 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.4246, allocations: 0 / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.4247, allocations: 7.984 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.4247, allocations: 4 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.4248, allocations: 4 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.99e-05/0.4248, allocations: 104.4 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4248, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002467/0.4251, allocations: 24 kB / 1.074 GB, free: 4.012 MB / 0.8262 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.0002103/0.4253, allocations: 123.2 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.4255, allocations: 63.89 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4256, allocations: 0 / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.4256, allocations: 35.92 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.426, allocations: 9.156 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.4265, allocations: 204.4 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.4268, allocations: 0.6885 MB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.493e-05/0.4268, allocations: 8 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.4269, allocations: 15.44 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4269, allocations: 0 / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of Templates: time 0.003833/0.4307, allocations: 1.05 MB / 1.076 GB, free: 1.773 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)