Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 104.6 kB / 16.27 MB, free: 5.93 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.001774/0.001774, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.458/1.458, allocations: 222.9 MB / 240.9 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.8199/0.8199, allocations: 125.4 MB / 416.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.89 kB / 0.4941 GB, free: 4.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3513, allocations: 78.56 MB / 0.5709 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002078/0.3534, allocations: 1.273 MB / 0.5721 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.3543, allocations: 0.5945 MB / 0.5727 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.3544, allocations: 1.281 kB / 0.5727 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.3544, allocations: 4.5 kB / 0.5727 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.3545, allocations: 6.016 kB / 0.5727 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.355, allocations: 144.4 kB / 0.5728 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.3551, allocations: 20.66 kB / 0.5729 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/0.3551, allocations: 3.969 kB / 0.5729 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.3552, allocations: 8.25 kB / 0.5729 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.405e-05/0.3552, allocations: 15.56 kB / 0.5729 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3552, allocations: 1.031 kB / 0.5729 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005788/0.3558, allocations: 342.3 kB / 0.5732 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.3559, allocations: 7.281 kB / 0.5732 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.3559, allocations: 12.61 kB / 0.5732 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.3562, allocations: 144.4 kB / 0.5734 GB, free: 29.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3562, allocations: 1.25 kB / 0.5734 GB, free: 29.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3562, allocations: 1.781 kB / 0.5734 GB, free: 29.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3562, allocations: 0 / 0.5734 GB, free: 29.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004233/0.3567, allocations: 361.5 kB / 0.5737 GB, free: 29.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3567, allocations: 9.75 kB / 0.5737 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.3568, allocations: 4.219 kB / 0.5737 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/0.3568, allocations: 167.1 kB / 0.5739 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3569, allocations: 2.281 kB / 0.5739 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3569, allocations: 5.688 kB / 0.5739 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.357, allocations: 50.66 kB / 0.5739 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.357, allocations: 1.219 kB / 0.5739 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.357, allocations: 0 / 0.5739 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3571, allocations: 1.188 kB / 0.5739 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/0.3571, allocations: 15.59 kB / 0.574 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.3574, allocations: 250.1 kB / 0.5742 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3577, allocations: 46.95 kB / 0.5742 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.3577, allocations: 22.61 kB / 0.5743 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3577, allocations: 6.844 kB / 0.5743 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.3578, allocations: 32.62 kB / 0.5743 GB, free: 28.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3578, allocations: 0 / 0.5743 GB, free: 28.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001712/0.3579, allocations: 65.38 kB / 0.5744 GB, free: 28.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.358, allocations: 52.11 kB / 0.5744 GB, free: 28.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.358, allocations: 104.2 kB / 0.5745 GB, free: 28.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.3581, allocations: 26.67 kB / 0.5745 GB, free: 28.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.3581, allocations: 82.27 kB / 0.5746 GB, free: 28.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.3581, allocations: 15.61 kB / 0.5746 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.3581, allocations: 19.62 kB / 0.5747 GB, free: 28.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.3582, allocations: 321.6 kB / 0.575 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.3582, allocations: 10.56 kB / 0.575 GB, free: 28.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.3583, allocations: 21.47 kB / 0.575 GB, free: 28.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.3583, allocations: 31.3 kB / 0.575 GB, free: 28.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3583, allocations: 0.5625 kB / 0.575 GB, free: 28.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.522e-05/0.3584, allocations: 56.42 kB / 0.5751 GB, free: 28.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3584, allocations: 6.094 kB / 0.5751 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3584, allocations: 0 / 0.5751 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3585, allocations: 1.922 kB / 0.5751 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.3585, allocations: 7.969 kB / 0.5751 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3585, allocations: 2.422 kB / 0.5751 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.3585, allocations: 5.156 kB / 0.5751 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3586, allocations: 3.219 kB / 0.5751 GB, free: 28.15 MB / 446.1 MB 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 (5): * Single equations (assignments): 5 * 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 5.709e-05/0.3586, allocations: 117 kB / 0.5752 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.3587, allocations: 5.828 kB / 0.5752 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.3588, allocations: 65.33 kB / 0.5753 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3588, allocations: 1.562 kB / 0.5753 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3588, allocations: 0.5625 kB / 0.5753 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3588, allocations: 0 / 0.5753 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.359, allocations: 159 kB / 0.5754 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.359, allocations: 1.031 kB / 0.5754 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.359, allocations: 7.391 kB / 0.5754 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.359, allocations: 0 / 0.5754 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.359, allocations: 6.484 kB / 0.5754 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.359, allocations: 0 / 0.5754 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.359, allocations: 1.125 kB / 0.5754 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.3591, allocations: 152.9 kB / 0.5756 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.3592, allocations: 78.55 kB / 0.5757 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3592, allocations: 6.891 kB / 0.5757 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.3592, allocations: 1.531 kB / 0.5757 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.3593, allocations: 2.828 kB / 0.5757 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.3593, allocations: 5.844 kB / 0.5757 GB, free: 27.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.927e-05/0.3593, allocations: 82.47 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3593, allocations: 1.531 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.3595, allocations: 19.84 kB / 0.5758 GB, free: 27.45 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 (4): * Single equations (assignments): 4 * 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.0001745/0.3597, allocations: 123 kB / 0.5759 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.3598, allocations: 26.69 kB / 0.5759 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3599, allocations: 0 / 0.5759 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.169e-05/0.3599, allocations: 15.16 kB / 0.5759 GB, free: 27.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.3601, allocations: 7.375 kB / 0.5759 GB, free: 27.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.3604, allocations: 119.9 kB / 0.5761 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3605, allocations: 0.6808 MB / 0.5767 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.541e-05/0.3606, allocations: 6.781 kB / 0.5767 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.3606, allocations: 10.23 kB / 0.5767 GB, free: 26.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3606, allocations: 0 / 0.5767 GB, free: 26.51 MB / 446.1 MB Notification: Performance of Templates: time 0.002984/0.3636, allocations: 0.5013 MB / 0.5772 GB, free: 26.46 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)