Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 292.3 MB / 308.1 MB, free: 4.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 198.3 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008987/0.0008988, allocations: 96.45 kB / 0.748 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 51.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2383, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002513/0.2408, allocations: 1.348 MB / 0.9835 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2419, allocations: 0.6112 MB / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.2419, allocations: 0 / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.242, allocations: 0 / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.242, allocations: 3.938 kB / 0.9841 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.2425, allocations: 131.6 kB / 0.9843 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.849e-05/0.2425, allocations: 15.94 kB / 0.9843 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.2426, allocations: 0 / 0.9843 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.2426, allocations: 15.86 kB / 0.9843 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.2427, allocations: 8 kB / 0.9843 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2427, allocations: 4 kB / 0.9843 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.2432, allocations: 339.4 kB / 0.9846 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.2432, allocations: 0 / 0.9846 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.2432, allocations: 19.92 kB / 0.9846 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.2435, allocations: 143.9 kB / 0.9848 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2435, allocations: 4 kB / 0.9848 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2435, allocations: 0 / 0.9848 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.2435, allocations: 0 / 0.9848 GB, free: 7.754 MB / 0.7136 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.0004813/0.244, allocations: 363.4 kB / 0.9851 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2441, allocations: 12.03 kB / 0.9851 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.2441, allocations: 0.9375 kB / 0.9851 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2442, allocations: 168.3 kB / 0.9853 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.2442, allocations: 8.375 kB / 0.9853 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.2443, allocations: 384 / 0.9853 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.876e-05/0.2444, allocations: 46.19 kB / 0.9854 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2444, allocations: 4.172 kB / 0.9854 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2444, allocations: 3.938 kB / 0.9854 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2444, allocations: 0 / 0.9854 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.2445, allocations: 15.98 kB / 0.9854 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.2448, allocations: 248.9 kB / 0.9856 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.245, allocations: 58.56 kB / 0.9857 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.2451, allocations: 16.86 kB / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2451, allocations: 0 / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2451, allocations: 38.55 kB / 0.9857 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2451, allocations: 0 / 0.9857 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000173/0.2453, allocations: 61.53 kB / 0.9858 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2453, allocations: 55.41 kB / 0.9858 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.2454, allocations: 97.86 kB / 0.9859 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.2454, allocations: 29.7 kB / 0.986 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.2455, allocations: 84.08 kB / 0.986 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.2455, allocations: 15.8 kB / 0.9861 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.2455, allocations: 13.72 kB / 0.9861 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2457, allocations: 318.8 kB / 0.9864 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.2457, allocations: 4 kB / 0.9864 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.235e-05/0.2458, allocations: 25.7 kB / 0.9864 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.866e-05/0.2458, allocations: 29.72 kB / 0.9864 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2458, allocations: 3.938 kB / 0.9864 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.965e-05/0.2459, allocations: 57.62 kB / 0.9865 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.246, allocations: 5.875 kB / 0.9865 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.246, allocations: 0 / 0.9865 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.246, allocations: 0 / 0.9865 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.927e-05/0.246, allocations: 16.02 kB / 0.9865 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2461, allocations: 3.938 kB / 0.9865 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.2461, allocations: 7.906 kB / 0.9865 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2461, allocations: 3.984 kB / 0.9865 GB, free: 5.738 MB / 0.7136 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 7.292e-05/0.2462, allocations: 113.8 kB / 0.9866 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.2462, allocations: 4 kB / 0.9866 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.2463, allocations: 61.59 kB / 0.9867 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2463, allocations: 0 / 0.9867 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2464, allocations: 4 kB / 0.9867 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.2464, allocations: 3.984 kB / 0.9867 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.2465, allocations: 161.6 kB / 0.9869 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2465, allocations: 0 / 0.9869 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.2466, allocations: 15.88 kB / 0.9869 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2466, allocations: 0 / 0.9869 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2466, allocations: 0 / 0.9869 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2466, allocations: 0 / 0.9869 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2466, allocations: 0 / 0.9869 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.247, allocations: 0.7045 MB / 0.9876 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.247, allocations: 84.95 kB / 0.9876 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2471, allocations: 3.984 kB / 0.9876 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-05/0.2471, allocations: 4.125 kB / 0.9877 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.2471, allocations: 4 kB / 0.9877 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.2472, allocations: 7.938 kB / 0.9877 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.2472, allocations: 79.28 kB / 0.9877 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2472, allocations: 4 kB / 0.9877 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003494/0.2476, allocations: 16 kB / 0.9878 GB, free: 4.336 MB / 0.7136 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.0002065/0.2478, allocations: 123.2 kB / 0.9879 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.93e-05/0.2479, allocations: 23.94 kB / 0.9879 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2479, allocations: 0 / 0.9879 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.2479, allocations: 15.98 kB / 0.9879 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.2481, allocations: 4.688 kB / 0.9879 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.2485, allocations: 235.3 kB / 0.9881 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2488, allocations: 0.6731 MB / 0.9888 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.014e-05/0.2489, allocations: 15.89 kB / 0.9888 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.2489, allocations: 15.44 kB / 0.9888 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of SimCode: time 4.5e-07/0.2489, allocations: 4 kB / 0.9888 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.002555/0.2515, allocations: 0.4966 MB / 0.9893 GB, free: 2.664 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)