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.001282/0.001282, allocations: 103.1 kB / 16.27 MB, free: 5.965 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.001165/0.001165, allocations: 191 kB / 17.2 MB, free: 5.59 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.309/1.309, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 294.2 kB / 291.3 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.136/1.136, allocations: 178.5 MB / 0.5079 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 91.86 kB / 0.6071 GB, free: 9.254 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.164, allocations: 89.14 MB / 0.6942 GB, free: 32 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002508/0.1666, allocations: 1.289 MB / 0.6954 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009701/0.1676, allocations: 0.5853 MB / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.1676, allocations: 4 kB / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.1676, allocations: 3.938 kB / 0.696 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.1677, allocations: 7.938 kB / 0.696 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.1682, allocations: 146.8 kB / 0.6961 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.1682, allocations: 27.75 kB / 0.6962 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.1683, allocations: 4 kB / 0.6962 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.1683, allocations: 7.984 kB / 0.6962 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.1683, allocations: 11.94 kB / 0.6962 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.1684, allocations: 4 kB / 0.6962 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.1689, allocations: 347.3 kB / 0.6965 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.1689, allocations: 0 / 0.6965 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.1689, allocations: 15.92 kB / 0.6965 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1692, allocations: 140 kB / 0.6967 GB, free: 13.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1692, allocations: 0 / 0.6967 GB, free: 13.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1692, allocations: 3.938 kB / 0.6967 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.1692, allocations: 0 / 0.6967 GB, free: 13.43 MB / 0.545 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.000423/0.1696, allocations: 359.4 kB / 0.697 GB, free: 13.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1697, allocations: 12.03 kB / 0.697 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.1697, allocations: 12.84 kB / 0.697 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1698, allocations: 160.4 kB / 0.6972 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1699, allocations: 4.375 kB / 0.6972 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1699, allocations: 384 / 0.6972 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.17, allocations: 42.25 kB / 0.6972 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.17, allocations: 192 / 0.6972 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.17, allocations: 3.938 kB / 0.6972 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.17, allocations: 0 / 0.6972 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.83e-05/0.1701, allocations: 19.92 kB / 0.6973 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.1704, allocations: 248.9 kB / 0.6975 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1706, allocations: 54.61 kB / 0.6976 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.1706, allocations: 16.86 kB / 0.6976 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1707, allocations: 0 / 0.6976 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1707, allocations: 38.55 kB / 0.6976 GB, free: 12.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1707, allocations: 4 kB / 0.6976 GB, free: 12.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001605/0.1709, allocations: 57.62 kB / 0.6977 GB, free: 12.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1709, allocations: 51.41 kB / 0.6977 GB, free: 12.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.171, allocations: 97.86 kB / 0.6978 GB, free: 12.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.171, allocations: 29.7 kB / 0.6978 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.1711, allocations: 87.98 kB / 0.6979 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.1711, allocations: 11.89 kB / 0.6979 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.1712, allocations: 17.62 kB / 0.6979 GB, free: 11.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1713, allocations: 322.8 kB / 0.6983 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.1713, allocations: 4 kB / 0.6983 GB, free: 11.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.1714, allocations: 21.7 kB / 0.6983 GB, free: 11.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.1714, allocations: 33.66 kB / 0.6983 GB, free: 11.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1714, allocations: 3.938 kB / 0.6983 GB, free: 11.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.408e-05/0.1715, allocations: 61.56 kB / 0.6984 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1715, allocations: 7.938 kB / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.1716, allocations: 4.031 kB / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1716, allocations: 0 / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.1716, allocations: 11.98 kB / 0.6984 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1716, allocations: 0 / 0.6984 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.1717, allocations: 8.125 kB / 0.6984 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1717, allocations: 0 / 0.6984 GB, free: 11.43 MB / 0.545 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.266e-05/0.1718, allocations: 113.8 kB / 0.6985 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.1718, allocations: 4 kB / 0.6985 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.1719, allocations: 69.11 kB / 0.6986 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1719, allocations: 0 / 0.6986 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.1719, allocations: 0 / 0.6986 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.1719, allocations: 0 / 0.6986 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.1721, allocations: 161.5 kB / 0.6987 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1721, allocations: 0 / 0.6987 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1722, allocations: 8.469 kB / 0.6987 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1722, allocations: 0 / 0.6987 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.1722, allocations: 0 / 0.6987 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1722, allocations: 0 / 0.6987 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1722, allocations: 4 kB / 0.6987 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1723, allocations: 151.5 kB / 0.6989 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.1724, allocations: 89.03 kB / 0.699 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1724, allocations: 4 kB / 0.699 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.1725, allocations: 3.938 kB / 0.699 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.1725, allocations: 0 / 0.699 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.1725, allocations: 4 kB / 0.699 GB, free: 10.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.1726, allocations: 75.28 kB / 0.6991 GB, free: 10.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1726, allocations: 4 kB / 0.6991 GB, free: 10.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002373/0.1728, allocations: 23.98 kB / 0.6991 GB, free: 10.62 MB / 0.545 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.0001734/0.173, allocations: 123.2 kB / 0.6992 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.169e-05/0.1731, allocations: 19.98 kB / 0.6992 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1731, allocations: 4 kB / 0.6992 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.97e-05/0.1731, allocations: 19.81 kB / 0.6992 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.1733, allocations: 8.5 kB / 0.6993 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.1736, allocations: 156.2 kB / 0.6994 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1739, allocations: 0.6768 MB / 0.7001 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.174, allocations: 11.44 kB / 0.7001 GB, free: 9.543 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.174, allocations: 0 / 0.7001 GB, free: 9.543 MB / 0.545 GB Notification: Performance of Templates: time 0.002146/0.1761, allocations: 0.6951 MB / 0.7008 GB, free: 8.844 MB / 0.545 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)