Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005128/0.005128, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001206/0.001206, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 274.8 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9208/0.9208, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 99.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1659, allocations: 86.98 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002134/0.1681, allocations: 1.283 MB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009221/0.1691, allocations: 0.5916 MB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.1691, allocations: 0 / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.1691, allocations: 3.938 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.1692, allocations: 0 / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.1697, allocations: 139.4 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.899e-05/0.1697, allocations: 31.84 kB / 0.7684 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.1698, allocations: 3.938 kB / 0.7684 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.1698, allocations: 7.938 kB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.413e-05/0.1699, allocations: 11.98 kB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1699, allocations: 0 / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/0.1704, allocations: 347.3 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1704, allocations: 4 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.1704, allocations: 7.938 kB / 0.7687 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.1706, allocations: 151.6 kB / 0.7689 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1707, allocations: 0 / 0.7689 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1707, allocations: 0 / 0.7689 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1707, allocations: 0 / 0.7689 GB, free: 5.875 MB / 0.5606 GB 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.0004219/0.1711, allocations: 359.4 kB / 0.7692 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1711, allocations: 11.97 kB / 0.7692 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.1712, allocations: 4.922 kB / 0.7692 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1713, allocations: 168.4 kB / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1713, allocations: 384 / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1713, allocations: 384 / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1714, allocations: 50.19 kB / 0.7695 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1714, allocations: 192 / 0.7695 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1715, allocations: 3.938 kB / 0.7695 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1715, allocations: 4 kB / 0.7695 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.296e-05/0.1715, allocations: 16 kB / 0.7695 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.1718, allocations: 260.8 kB / 0.7697 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.172, allocations: 50.56 kB / 0.7698 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.1721, allocations: 16.86 kB / 0.7698 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.1721, allocations: 0 / 0.7698 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1721, allocations: 38.55 kB / 0.7698 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1721, allocations: 0 / 0.7698 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001844/0.1723, allocations: 65.53 kB / 0.7699 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.1723, allocations: 51.41 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.1724, allocations: 97.84 kB / 0.77 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1724, allocations: 25.7 kB / 0.7701 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.1725, allocations: 84.14 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.1725, allocations: 11.81 kB / 0.7702 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1725, allocations: 25.7 kB / 0.7702 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.1726, allocations: 310.8 kB / 0.7705 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.1726, allocations: 8 kB / 0.7705 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.1727, allocations: 21.7 kB / 0.7705 GB, free: 4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/0.1727, allocations: 29.66 kB / 0.7705 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1727, allocations: 0 / 0.7705 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.297e-05/0.1728, allocations: 65.62 kB / 0.7706 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1729, allocations: 7.938 kB / 0.7706 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1729, allocations: 0 / 0.7706 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1729, allocations: 4 kB / 0.7706 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.483e-05/0.1729, allocations: 7.938 kB / 0.7706 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1729, allocations: 4 kB / 0.7706 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.173, allocations: 0 / 0.7706 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.173, allocations: 7.969 kB / 0.7706 GB, free: 3.863 MB / 0.5606 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 (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 8.32e-05/0.1731, allocations: 114.4 kB / 0.7707 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1731, allocations: 7.938 kB / 0.7707 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.1732, allocations: 61.19 kB / 0.7708 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1733, allocations: 0 / 0.7708 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1733, allocations: 0 / 0.7708 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1733, allocations: 3.938 kB / 0.7708 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1734, allocations: 169.5 kB / 0.771 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1734, allocations: 0 / 0.771 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.1735, allocations: 8.109 kB / 0.771 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1735, allocations: 4 kB / 0.771 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1735, allocations: 4 kB / 0.771 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1735, allocations: 4 kB / 0.771 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1735, allocations: 0 / 0.771 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.1736, allocations: 147.5 kB / 0.7711 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.1737, allocations: 81.53 kB / 0.7712 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1737, allocations: 0 / 0.7712 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.1737, allocations: 0 / 0.7712 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.1738, allocations: 7.984 kB / 0.7712 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1738, allocations: 4 kB / 0.7712 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.1738, allocations: 87.27 kB / 0.7713 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.563e-06/0.1738, allocations: 0 / 0.7713 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000244/0.1741, allocations: 19.94 kB / 0.7713 GB, free: 3.055 MB / 0.5606 GB 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.0001758/0.1743, allocations: 123.2 kB / 0.7714 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.514e-05/0.1744, allocations: 23.98 kB / 0.7715 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1744, allocations: 0 / 0.7715 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.1744, allocations: 23.86 kB / 0.7715 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.1746, allocations: 8 kB / 0.7715 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.1749, allocations: 119.2 kB / 0.7716 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1752, allocations: 0.6768 MB / 0.7723 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.1752, allocations: 4 kB / 0.7723 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.1753, allocations: 7.438 kB / 0.7723 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1753, allocations: 4 kB / 0.7723 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of Templates: time 0.002468/0.1777, allocations: 0.5153 MB / 0.7728 GB, free: 1.5 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)