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.001469/0.001468, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001565/0.001565, allocations: 193.2 kB / 16.26 MB, free: 6.152 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00266/0.00266, allocations: 286.8 kB / 290.4 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.507 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 99.7 kB / 0.6059 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1623, allocations: 89.15 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002617/0.1649, allocations: 1.346 MB / 0.6943 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.166, allocations: 0.5955 MB / 0.6949 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.048e-05/0.166, allocations: 0 / 0.6949 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.1661, allocations: 4 kB / 0.6949 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.1662, allocations: 3.938 kB / 0.6949 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.1667, allocations: 131.6 kB / 0.695 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.1667, allocations: 19.92 kB / 0.695 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.1668, allocations: 4 kB / 0.695 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.342e-05/0.1668, allocations: 7.938 kB / 0.695 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.1669, allocations: 11.98 kB / 0.695 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1669, allocations: 0 / 0.695 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005125/0.1674, allocations: 347.3 kB / 0.6954 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.1674, allocations: 3.938 kB / 0.6954 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.1675, allocations: 8 kB / 0.6954 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1677, allocations: 147.9 kB / 0.6955 GB, free: 2.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1677, allocations: 0 / 0.6955 GB, free: 2.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1677, allocations: 0 / 0.6955 GB, free: 2.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1677, allocations: 0 / 0.6955 GB, free: 2.082 MB / 494.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.0004891/0.1682, allocations: 355.4 kB / 0.6959 GB, free: 1.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1683, allocations: 12.03 kB / 0.6959 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.1683, allocations: 4.844 kB / 0.6959 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1685, allocations: 176.3 kB / 0.6961 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1685, allocations: 8.375 kB / 0.6961 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.1685, allocations: 384 / 0.6961 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1686, allocations: 46.19 kB / 0.6961 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.1687, allocations: 192 / 0.6961 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1687, allocations: 7.938 kB / 0.6961 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1687, allocations: 0 / 0.6961 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.1687, allocations: 12 kB / 0.6961 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.1691, allocations: 244.9 kB / 0.6964 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1693, allocations: 58.56 kB / 0.6964 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.1694, allocations: 20.84 kB / 0.6964 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.1694, allocations: 4 kB / 0.6964 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1695, allocations: 30.56 kB / 0.6965 GB, free: 0.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 3.376e-06/0.1695, allocations: 3.984 kB / 0.6965 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001912/0.1697, allocations: 53.69 kB / 0.6965 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.1698, allocations: 63.34 kB / 0.6966 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.1698, allocations: 101.8 kB / 0.6967 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1699, allocations: 25.7 kB / 0.6967 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.1699, allocations: 87.98 kB / 0.6968 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.17, allocations: 11.81 kB / 0.6968 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.17, allocations: 13.72 kB / 0.6968 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1702, allocations: 322.8 kB / 0.6971 GB, free: 240 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.1702, allocations: 4 kB / 0.6971 GB, free: 236 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.1702, allocations: 21.72 kB / 0.6971 GB, free: 208 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.1703, allocations: 29.7 kB / 0.6972 GB, free: 172 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1703, allocations: 0 / 0.6972 GB, free: 172 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.892e-05/0.1704, allocations: 65.56 kB / 0.6972 GB, free: 100 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1704, allocations: 4 kB / 0.6972 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1704, allocations: 0 / 0.6972 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1705, allocations: 0 / 0.6972 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/0.1705, allocations: 8.031 kB / 0.6972 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1705, allocations: 4 kB / 0.6972 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.1706, allocations: 4 kB / 0.6973 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1706, allocations: 7.875 kB / 0.6973 GB, free: 72 kB / 494.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 0.0001071/0.1707, allocations: 121.8 kB / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.1707, allocations: 3.906 kB / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.1709, allocations: 61.12 kB / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1709, allocations: 0 / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1709, allocations: 4 kB / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1709, allocations: 0 / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.1711, allocations: 157.6 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1711, allocations: 4 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.1711, allocations: 7.984 kB / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1711, allocations: 0 / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1711, allocations: 3.938 kB / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1711, allocations: 0 / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1711, allocations: 4 kB / 0.6976 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.1713, allocations: 147.6 kB / 0.6978 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.1714, allocations: 85.56 kB / 0.6978 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1714, allocations: 8 kB / 0.6978 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.1714, allocations: 0 / 0.6978 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.1714, allocations: 0 / 0.6978 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.1715, allocations: 7.984 kB / 0.6978 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.1715, allocations: 79.27 kB / 0.6979 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1715, allocations: 0 / 0.6979 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002447/0.1718, allocations: 20 kB / 0.6979 GB, free: 15.27 MB / 0.4981 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.0001943/0.172, allocations: 127.2 kB / 0.6981 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1721, allocations: 27.92 kB / 0.6981 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1721, allocations: 0 / 0.6981 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.909e-05/0.1721, allocations: 8 kB / 0.6981 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.1723, allocations: 10.75 kB / 0.6981 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.1726, allocations: 138.6 kB / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.173, allocations: 0.6729 MB / 0.6989 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.173, allocations: 11.92 kB / 0.6989 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.173, allocations: 11.44 kB / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.173, allocations: 0 / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.002835/0.1759, allocations: 0.5043 MB / 0.6994 GB, free: 13.71 MB / 0.4981 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)