Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 173.1 kB / 16.58 MB, free: 6.797 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.347/1.347, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.717/0.717, allocations: 115.5 MB / 407.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 8 kB / 495.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 77.52 MB / 0.5593 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001232/0.1293, allocations: 0.9652 MB / 0.5603 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008543/0.1301, allocations: 0.5454 MB / 0.5608 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.1302, allocations: 0 / 0.5608 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.1302, allocations: 0 / 0.5608 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.1302, allocations: 3.984 kB / 0.5608 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.1307, allocations: 118.6 kB / 0.5609 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.188e-05/0.1308, allocations: 11.92 kB / 0.5609 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.1308, allocations: 0 / 0.5609 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.687e-05/0.1308, allocations: 4 kB / 0.5609 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.1309, allocations: 11.94 kB / 0.5609 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.1309, allocations: 0 / 0.5609 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005214/0.1314, allocations: 335.3 kB / 0.5613 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.935e-06/0.1315, allocations: 0 / 0.5613 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.1315, allocations: 25.7 kB / 0.5613 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.1317, allocations: 96.11 kB / 0.5614 GB, free: 7.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1317, allocations: 8 kB / 0.5614 GB, free: 7.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1317, allocations: 0 / 0.5614 GB, free: 7.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1317, allocations: 0 / 0.5614 GB, free: 7.312 MB / 430.1 MB 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.0003373/0.132, allocations: 347.2 kB / 0.5617 GB, free: 6.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1321, allocations: 12.03 kB / 0.5617 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.1321, allocations: 0 / 0.5617 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1322, allocations: 159.1 kB / 0.5619 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1322, allocations: 0 / 0.5619 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.1323, allocations: 0 / 0.5619 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.466e-05/0.1324, allocations: 41.66 kB / 0.5619 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1324, allocations: 0 / 0.5619 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1324, allocations: 3.984 kB / 0.5619 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1324, allocations: 7.938 kB / 0.5619 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/0.1324, allocations: 0 / 0.5619 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1326, allocations: 149.7 kB / 0.5621 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.685e-05/0.1326, allocations: 22.59 kB / 0.5621 GB, free: 6.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.1327, allocations: 16.92 kB / 0.5621 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1327, allocations: 3.938 kB / 0.5621 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1327, allocations: 34.52 kB / 0.5621 GB, free: 6.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1327, allocations: 0 / 0.5621 GB, free: 6.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001351/0.1329, allocations: 45.55 kB / 0.5622 GB, free: 6.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1329, allocations: 55.41 kB / 0.5622 GB, free: 6.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.744e-05/0.133, allocations: 97.84 kB / 0.5623 GB, free: 6.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.133, allocations: 25.95 kB / 0.5624 GB, free: 6.113 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.133, allocations: 84.14 kB / 0.5624 GB, free: 6.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1331, allocations: 3.906 kB / 0.5624 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.1331, allocations: 0 / 0.5624 GB, free: 6.023 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1332, allocations: 314.8 kB / 0.5627 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.1332, allocations: 4 kB / 0.5627 GB, free: 5.703 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-06/0.1332, allocations: 0 / 0.5627 GB, free: 5.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.1332, allocations: 7.984 kB / 0.5628 GB, free: 5.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1332, allocations: 0 / 0.5628 GB, free: 5.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.612e-05/0.1333, allocations: 45.7 kB / 0.5628 GB, free: 5.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1333, allocations: 4 kB / 0.5628 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1333, allocations: 7.953 kB / 0.5628 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1334, allocations: 4 kB / 0.5628 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1335, allocations: 11.98 kB / 0.5628 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000367/0.1339, allocations: 0.5821 MB / 0.5634 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.1339, allocations: 4.125 kB / 0.5634 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.134, allocations: 7.969 kB / 0.5634 GB, free: 5 MB / 430.1 MB 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.134, allocations: 109.8 kB / 0.5635 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-06/0.134, allocations: 7.969 kB / 0.5635 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/0.1341, allocations: 44.81 kB / 0.5636 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1342, allocations: 0 / 0.5636 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1342, allocations: 0 / 0.5636 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1342, allocations: 0 / 0.5636 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.948e-05/0.1343, allocations: 157.7 kB / 0.5637 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1343, allocations: 3.953 kB / 0.5637 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.1344, allocations: 16.02 kB / 0.5637 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1344, allocations: 0 / 0.5637 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.1344, allocations: 0 / 0.5637 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002913/0.1347, allocations: 0.5859 MB / 0.5643 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1347, allocations: 0 / 0.5643 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.736e-05/0.1348, allocations: 73.2 kB / 0.5644 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.1348, allocations: 77.11 kB / 0.5644 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.1348, allocations: 0 / 0.5644 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/0.1349, allocations: 0 / 0.5644 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.1349, allocations: 8 kB / 0.5644 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1349, allocations: 0 / 0.5644 GB, free: 3.805 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.956e-05/0.1349, allocations: 79.22 kB / 0.5645 GB, free: 3.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1349, allocations: 4.125 kB / 0.5645 GB, free: 3.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.1351, allocations: 12 kB / 0.5645 GB, free: 3.711 MB / 430.1 MB 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.1353, allocations: 115.1 kB / 0.5646 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.1355, allocations: 15.98 kB / 0.5647 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1355, allocations: 0 / 0.5647 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/0.1356, allocations: 19.98 kB / 0.5647 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.1357, allocations: 4.078 kB / 0.5647 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.136, allocations: 107.2 kB / 0.5648 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1362, allocations: 0.677 MB / 0.5655 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.958e-05/0.1362, allocations: 3.906 kB / 0.5655 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.414e-05/0.1363, allocations: 11.38 kB / 0.5655 GB, free: 2.699 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1363, allocations: 0 / 0.5655 GB, free: 2.699 MB / 430.1 MB Notification: Performance of Templates: time 0.002525/0.1388, allocations: 414 kB / 0.5659 GB, free: 2.312 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)