Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009742/0.0009742, allocations: 88.44 kB / 20.7 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 173.9 kB / 23.97 MB, free: 0.5742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9277/0.9277, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6243/0.6243, allocations: 120 MB / 380.7 MB, free: 2.949 MB / 346.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.5643 GB, free: 7.816 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.659e-05, allocations: 5.094 kB / 0.5643 GB, free: 7.812 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002292/0.002318, allocations: 1.303 MB / 0.5656 GB, free: 6.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000883/0.003201, allocations: 0.5331 MB / 0.5661 GB, free: 5.965 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.003233, allocations: 0 / 0.5661 GB, free: 5.965 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.003256, allocations: 7.922 kB / 0.5661 GB, free: 5.957 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.003298, allocations: 0 / 0.5661 GB, free: 5.957 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.003875, allocations: 159.2 kB / 0.5663 GB, free: 5.801 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.003936, allocations: 7.938 kB / 0.5663 GB, free: 5.793 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.003985, allocations: 4 kB / 0.5663 GB, free: 5.789 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.004019, allocations: 4 kB / 0.5663 GB, free: 5.785 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.004065, allocations: 3.984 kB / 0.5663 GB, free: 5.781 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.004077, allocations: 0 / 0.5663 GB, free: 5.781 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.004516, allocations: 319.3 kB / 0.5666 GB, free: 5.469 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.004531, allocations: 0 / 0.5666 GB, free: 5.469 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.004552, allocations: 3.984 kB / 0.5666 GB, free: 5.465 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.004806, allocations: 159.5 kB / 0.5668 GB, free: 5.309 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004808, allocations: 0 / 0.5668 GB, free: 5.309 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004809, allocations: 0 / 0.5668 GB, free: 5.309 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004813, allocations: 0 / 0.5668 GB, free: 5.309 MB / 490.7 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.000358/0.005171, allocations: 274 kB / 0.567 GB, free: 5.012 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.005212, allocations: 12.03 kB / 0.567 GB, free: 5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.005244, allocations: 0.9375 kB / 0.567 GB, free: 5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.36e-05/0.005327, allocations: 105.8 kB / 0.5671 GB, free: 4.871 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.005341, allocations: 8.375 kB / 0.5671 GB, free: 4.863 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.005349, allocations: 384 / 0.5671 GB, free: 4.863 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.522e-05/0.005445, allocations: 42.19 kB / 0.5672 GB, free: 4.816 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.005454, allocations: 3.938 kB / 0.5672 GB, free: 4.812 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.005463, allocations: 3.938 kB / 0.5672 GB, free: 4.809 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.005468, allocations: 0 / 0.5672 GB, free: 4.809 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.005499, allocations: 4 kB / 0.5672 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.005625, allocations: 101.4 kB / 0.5673 GB, free: 4.676 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.535e-05/0.00568, allocations: 22.56 kB / 0.5673 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.005699, allocations: 4.859 kB / 0.5673 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.005722, allocations: 4.062 kB / 0.5673 GB, free: 4.633 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.005748, allocations: 38.5 kB / 0.5674 GB, free: 4.586 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.005749, allocations: 4 kB / 0.5674 GB, free: 4.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.005887, allocations: 37.64 kB / 0.5674 GB, free: 4.539 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.00592, allocations: 55.41 kB / 0.5675 GB, free: 4.473 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.005985, allocations: 97.84 kB / 0.5675 GB, free: 4.367 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.005997, allocations: 25.7 kB / 0.5676 GB, free: 4.336 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.006023, allocations: 84.14 kB / 0.5677 GB, free: 4.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.006048, allocations: 3.953 kB / 0.5677 GB, free: 4.246 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.006076, allocations: 17.72 kB / 0.5677 GB, free: 4.223 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.006167, allocations: 314.8 kB / 0.568 GB, free: 3.906 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.006179, allocations: 256 / 0.568 GB, free: 3.906 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.006191, allocations: 15.92 kB / 0.568 GB, free: 3.891 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/0.006221, allocations: 12.86 kB / 0.568 GB, free: 3.875 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006223, allocations: 0 / 0.568 GB, free: 3.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.002e-05/0.006283, allocations: 33.7 kB / 0.568 GB, free: 3.836 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.006297, allocations: 8 kB / 0.568 GB, free: 3.828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006301, allocations: 0 / 0.568 GB, free: 3.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.006314, allocations: 3.938 kB / 0.568 GB, free: 3.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.006465, allocations: 11.98 kB / 0.5681 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003187/0.006783, allocations: 0.5899 MB / 0.5686 GB, free: 3.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.0068, allocations: 0 / 0.5686 GB, free: 3.199 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.006808, allocations: 8.016 kB / 0.5686 GB, free: 3.191 MB / 490.7 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 6.839e-05/0.006877, allocations: 113.8 kB / 0.5687 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.006883, allocations: 0 / 0.5687 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.119e-05/0.006974, allocations: 45 kB / 0.5688 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.006979, allocations: 7.984 kB / 0.5688 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.006983, allocations: 4 kB / 0.5688 GB, free: 3.012 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.006986, allocations: 4.125 kB / 0.5688 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.227e-05/0.007058, allocations: 109.2 kB / 0.5689 GB, free: 2.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.00706, allocations: 7.875 kB / 0.5689 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.007127, allocations: 11.94 kB / 0.5689 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.007129, allocations: 0 / 0.5689 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.007136, allocations: 3.984 kB / 0.5689 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002463/0.007382, allocations: 0.5821 MB / 0.5695 GB, free: 2.242 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007383, allocations: 0 / 0.5695 GB, free: 2.242 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.106e-05/0.007444, allocations: 65.06 kB / 0.5696 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.007452, allocations: 8.109 kB / 0.5696 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.007463, allocations: 7.938 kB / 0.5696 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.294e-05/0.007476, allocations: 0 / 0.5696 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.00749, allocations: 4 kB / 0.5696 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.007492, allocations: 0 / 0.5696 GB, free: 2.141 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.00752, allocations: 75.28 kB / 0.5697 GB, free: 2.066 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00752, allocations: 4 kB / 0.5697 GB, free: 2.062 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.007739, allocations: 15.88 kB / 0.5697 GB, free: 2.047 MB / 490.7 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.000162/0.007901, allocations: 111.2 kB / 0.5698 GB, free: 1.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.008044, allocations: 24.08 kB / 0.5698 GB, free: 1.906 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.008047, allocations: 4 kB / 0.5698 GB, free: 1.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.738e-05/0.008104, allocations: 11.98 kB / 0.5698 GB, free: 1.891 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.008249, allocations: 0 / 0.5698 GB, free: 1.891 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.00855, allocations: 138.3 kB / 0.57 GB, free: 1.723 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.364e-05/0.008594, allocations: 55.36 kB / 0.57 GB, free: 1.648 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.008611, allocations: 8.625 kB / 0.57 GB, free: 1.641 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/0.008612, allocations: 4 kB / 0.57 GB, free: 1.637 MB / 490.7 MB Notification: Performance of Templates: time 0.002504/0.01112, allocations: 0.7738 MB / 0.5708 GB, free: 0.8711 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.432069934904575]