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.001182/0.001182, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.001166/0.001166, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7216/0.7216, allocations: 115.1 MB / 406.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.34, allocations: 76.14 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002033/0.3421, allocations: 1.234 MB / 0.5588 GB, free: 35.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.3428, allocations: 0.5871 MB / 0.5593 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.3429, allocations: 1.469 kB / 0.5593 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.3429, allocations: 6.406 kB / 0.5594 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.3429, allocations: 4.438 kB / 0.5594 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.3434, allocations: 139.3 kB / 0.5595 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.3e-05/0.3434, allocations: 9.719 kB / 0.5595 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.3435, allocations: 8.062 kB / 0.5595 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.3435, allocations: 2.797 kB / 0.5595 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.3436, allocations: 4.016 kB / 0.5595 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3436, allocations: 3.984 kB / 0.5595 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.3441, allocations: 341.3 kB / 0.5598 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.3441, allocations: 3.141 kB / 0.5598 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.3441, allocations: 9.281 kB / 0.5599 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.3444, allocations: 136.8 kB / 0.56 GB, free: 35.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3444, allocations: 3.188 kB / 0.56 GB, free: 35.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3444, allocations: 0 / 0.56 GB, free: 35.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3444, allocations: 0 / 0.56 GB, free: 35.24 MB / 446.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.0002735/0.3447, allocations: 356.3 kB / 0.5603 GB, free: 34.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.3447, allocations: 8.906 kB / 0.5603 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.3447, allocations: 4.344 kB / 0.5603 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.256e-05/0.3448, allocations: 161.5 kB / 0.5605 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3448, allocations: 2.594 kB / 0.5605 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.3448, allocations: 5.125 kB / 0.5605 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.969e-05/0.3449, allocations: 36.56 kB / 0.5605 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.3449, allocations: 192 / 0.5605 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-06/0.3449, allocations: 7.031 kB / 0.5605 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3449, allocations: 4.531 kB / 0.5605 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.345, allocations: 3.75 kB / 0.5606 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.3451, allocations: 150.2 kB / 0.5607 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.085e-05/0.3451, allocations: 23.83 kB / 0.5607 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.3451, allocations: 9.766 kB / 0.5607 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.3452, allocations: 0.7031 kB / 0.5607 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.3452, allocations: 36.75 kB / 0.5608 GB, free: 34.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3452, allocations: 0 / 0.5608 GB, free: 34.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001192/0.3453, allocations: 46.62 kB / 0.5608 GB, free: 34.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.3454, allocations: 58.19 kB / 0.5609 GB, free: 34.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.38e-05/0.3454, allocations: 98.14 kB / 0.561 GB, free: 34.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-06/0.3454, allocations: 25.7 kB / 0.561 GB, free: 34.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.212e-05/0.3454, allocations: 82.47 kB / 0.5611 GB, free: 34.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.3455, allocations: 8.594 kB / 0.5611 GB, free: 34.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.3455, allocations: 18.91 kB / 0.5611 GB, free: 34.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.3455, allocations: 311.5 kB / 0.5614 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.3455, allocations: 3.094 kB / 0.5614 GB, free: 33.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-06/0.3456, allocations: 3.422 kB / 0.5614 GB, free: 33.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.3456, allocations: 19.11 kB / 0.5614 GB, free: 33.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3456, allocations: 0.875 kB / 0.5614 GB, free: 33.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.459e-05/0.3457, allocations: 40.56 kB / 0.5614 GB, free: 33.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.3457, allocations: 5.812 kB / 0.5615 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3457, allocations: 5.156 kB / 0.5615 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3457, allocations: 0.9375 kB / 0.5615 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.3458, allocations: 14.3 kB / 0.5615 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002241/0.3461, allocations: 0.5807 MB / 0.562 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.3461, allocations: 1.625 kB / 0.562 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3461, allocations: 1.656 kB / 0.562 GB, free: 33.05 MB / 446.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.3462, allocations: 116 kB / 0.5622 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-06/0.3462, allocations: 2.891 kB / 0.5622 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.4e-05/0.3463, allocations: 52.44 kB / 0.5622 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3463, allocations: 1.719 kB / 0.5622 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3463, allocations: 1.062 kB / 0.5622 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3463, allocations: 0 / 0.5622 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.843e-05/0.3464, allocations: 152.4 kB / 0.5624 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3464, allocations: 1.922 kB / 0.5624 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.292e-05/0.3465, allocations: 9.156 kB / 0.5624 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3465, allocations: 1.219 kB / 0.5624 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-06/0.3465, allocations: 4.75 kB / 0.5624 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001788/0.3467, allocations: 0.5869 MB / 0.5629 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3467, allocations: 7.875 kB / 0.563 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.266e-05/0.3467, allocations: 63.83 kB / 0.563 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.3468, allocations: 79.27 kB / 0.5631 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.3468, allocations: 6.359 kB / 0.5631 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.479e-05/0.3468, allocations: 1.125 kB / 0.5631 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.3468, allocations: 6.188 kB / 0.5631 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3468, allocations: 0 / 0.5631 GB, free: 31.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.646e-05/0.3468, allocations: 79.25 kB / 0.5632 GB, free: 31.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3468, allocations: 0 / 0.5632 GB, free: 31.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000196/0.347, allocations: 12.31 kB / 0.5632 GB, free: 31.85 MB / 446.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.3472, allocations: 113.8 kB / 0.5633 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.3473, allocations: 21.98 kB / 0.5633 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3473, allocations: 0 / 0.5633 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.3474, allocations: 13.16 kB / 0.5633 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3476, allocations: 2.531 kB / 0.5633 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.3478, allocations: 110.7 kB / 0.5634 GB, free: 31.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.147e-05/0.3479, allocations: 0.6777 MB / 0.5641 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.407e-05/0.3479, allocations: 5.172 kB / 0.5641 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.049e-05/0.348, allocations: 9.062 kB / 0.5641 GB, free: 30.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.348, allocations: 2.438 kB / 0.5641 GB, free: 30.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002313/0.3503, allocations: 445.6 kB / 0.5645 GB, free: 30.91 MB / 446.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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)