Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001314/0.001314, allocations: 187 kB / 17.34 MB, free: 5.766 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 286.1 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9351/0.9351, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 95.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4269, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001726/0.4287, allocations: 0.5153 MB / 0.7675 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.4288, allocations: 15.92 kB / 0.7675 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.4289, allocations: 0 / 0.7675 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.4289, allocations: 4 kB / 0.7675 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.4291, allocations: 7.938 kB / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.4291, allocations: 0 / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.215e-05/0.4292, allocations: 0 / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.4292, allocations: 11.97 kB / 0.7676 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.4293, allocations: 3.938 kB / 0.7676 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.4293, allocations: 4 kB / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.4293, allocations: 0 / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.4293, allocations: 0 / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.4294, allocations: 0 / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.4294, allocations: 0 / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.359e-05/0.4294, allocations: 11.94 kB / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4294, allocations: 0 / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4295, allocations: 4 kB / 0.7676 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4295, allocations: 3.938 kB / 0.7676 GB, free: 3.32 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000312/0.4298, allocations: 319.5 kB / 0.7679 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4298, allocations: 8.031 kB / 0.7679 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.4299, allocations: 0.9375 kB / 0.7679 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.43, allocations: 164 kB / 0.7681 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.43, allocations: 4.375 kB / 0.7681 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.43, allocations: 4.375 kB / 0.7681 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.4301, allocations: 47.97 kB / 0.7681 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4301, allocations: 192 / 0.7681 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4302, allocations: 3.938 kB / 0.7681 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4302, allocations: 0 / 0.7681 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.4302, allocations: 7.938 kB / 0.7681 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.4304, allocations: 166.5 kB / 0.7683 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.4304, allocations: 33.22 kB / 0.7683 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.4305, allocations: 17.78 kB / 0.7683 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.4305, allocations: 0 / 0.7683 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4305, allocations: 34.56 kB / 0.7684 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.994e-06/0.4305, allocations: 3.984 kB / 0.7684 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.4307, allocations: 57.47 kB / 0.7684 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.4308, allocations: 77.11 kB / 0.7685 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.4308, allocations: 93.86 kB / 0.7686 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.4309, allocations: 25.7 kB / 0.7686 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.4309, allocations: 80.14 kB / 0.7687 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.4309, allocations: 4 kB / 0.7687 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.431, allocations: 10.09 kB / 0.7687 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4311, allocations: 326.8 kB / 0.769 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.4311, allocations: 0 / 0.769 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.4312, allocations: 17.66 kB / 0.769 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.428e-05/0.4312, allocations: 17.66 kB / 0.769 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4312, allocations: 0 / 0.769 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.883e-05/0.4313, allocations: 53.59 kB / 0.7691 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4313, allocations: 4 kB / 0.7691 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4313, allocations: 7.938 kB / 0.7691 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4313, allocations: 0 / 0.7691 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.4314, allocations: 4 kB / 0.7691 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4314, allocations: 0 / 0.7691 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.4315, allocations: 0 / 0.7691 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4315, allocations: 0 / 0.7691 GB, free: 1.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.403e-05/0.4316, allocations: 112.3 kB / 0.7692 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.4316, allocations: 8 kB / 0.7692 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.4317, allocations: 48.69 kB / 0.7693 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4317, allocations: 0 / 0.7693 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4317, allocations: 11.92 kB / 0.7693 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4317, allocations: 0 / 0.7693 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.803e-05/0.4318, allocations: 145.7 kB / 0.7694 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4318, allocations: 4 kB / 0.7694 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.4319, allocations: 0 / 0.7694 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4319, allocations: 8.062 kB / 0.7694 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4319, allocations: 7.922 kB / 0.7694 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4319, allocations: 0 / 0.7694 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4319, allocations: 0 / 0.7694 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.86e-05/0.432, allocations: 65.94 kB / 0.7695 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.4321, allocations: 85.09 kB / 0.7696 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.4321, allocations: 3.969 kB / 0.7696 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.506e-05/0.4321, allocations: 4 kB / 0.7696 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.4321, allocations: 8 kB / 0.7696 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.4321, allocations: 4 kB / 0.7696 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.4322, allocations: 75.28 kB / 0.7697 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4322, allocations: 0 / 0.7697 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001824/0.4324, allocations: 4 kB / 0.7697 GB, free: 0.8164 MB / 0.5294 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 (2): * Single equations (assignments): 2 * 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.0001167/0.4325, allocations: 91.25 kB / 0.7698 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.123e-05/0.4326, allocations: 20.02 kB / 0.7698 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4326, allocations: 0 / 0.7698 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.4326, allocations: 11.94 kB / 0.7698 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4328, allocations: 9.562 kB / 0.7698 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.433, allocations: 111.6 kB / 0.7699 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.4332, allocations: 0.6766 MB / 0.7706 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.4333, allocations: 15.69 kB / 0.7706 GB, free: 15.82 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4333, allocations: 0 / 0.7706 GB, free: 15.82 MB / 0.545 GB Notification: Performance of Templates: time 0.001505/0.4348, allocations: 363.7 kB / 0.7709 GB, free: 15.46 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)