Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009076/0.0009076, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.000954/0.000954, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9768/0.9768, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003265, allocations: 8 kB / 0.5158 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1595, allocations: 83.41 MB / 0.5973 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001293/0.1608, allocations: 0.9939 MB / 0.5982 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.1617, allocations: 0.5222 MB / 0.5988 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.1617, allocations: 0 / 0.5988 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.1617, allocations: 4 kB / 0.5988 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.1618, allocations: 7.922 kB / 0.5988 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.1622, allocations: 119.6 kB / 0.5989 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.624e-05/0.1623, allocations: 15.92 kB / 0.5989 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.1623, allocations: 0 / 0.5989 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.1624, allocations: 4 kB / 0.5989 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.1624, allocations: 15.97 kB / 0.5989 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.1624, allocations: 0 / 0.5989 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.1629, allocations: 363.4 kB / 0.5993 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.163, allocations: 7.969 kB / 0.5993 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.163, allocations: 25.7 kB / 0.5993 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1632, allocations: 96.12 kB / 0.5994 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.1632, allocations: 4 kB / 0.5994 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1632, allocations: 0 / 0.5994 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1632, allocations: 0 / 0.5994 GB, free: 5.703 MB / 0.4981 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.0003585/0.1636, allocations: 355.2 kB / 0.5997 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1636, allocations: 12.02 kB / 0.5997 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.1637, allocations: 15.86 kB / 0.5998 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1638, allocations: 163.1 kB / 0.5999 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1638, allocations: 3.938 kB / 0.5999 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1638, allocations: 4 kB / 0.5999 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.531e-05/0.1639, allocations: 37.69 kB / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1639, allocations: 0 / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1639, allocations: 4 kB / 0.6 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1639, allocations: 3.938 kB / 0.6 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.164, allocations: 15.98 kB / 0.6 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.1643, allocations: 264.9 kB / 0.6002 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1645, allocations: 42.62 kB / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1645, allocations: 0 / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1646, allocations: 30.56 kB / 0.6003 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1646, allocations: 0 / 0.6003 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001631/0.1647, allocations: 65.72 kB / 0.6004 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1648, allocations: 55.36 kB / 0.6004 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.1649, allocations: 101.8 kB / 0.6005 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.1649, allocations: 25.7 kB / 0.6005 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.1649, allocations: 84.05 kB / 0.6006 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.1649, allocations: 19.75 kB / 0.6006 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.1649, allocations: 0 / 0.6006 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.165, allocations: 310.8 kB / 0.6009 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.1651, allocations: 11.98 kB / 0.6009 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.1651, allocations: 25.72 kB / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.1651, allocations: 8 kB / 0.601 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1651, allocations: 0 / 0.601 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.45e-05/0.1652, allocations: 57.62 kB / 0.601 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1653, allocations: 8 kB / 0.601 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1653, allocations: 0 / 0.601 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1653, allocations: 0 / 0.601 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/0.1653, allocations: 11.98 kB / 0.6011 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1653, allocations: 7.984 kB / 0.6011 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.1654, allocations: 0 / 0.6011 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1654, allocations: 4 kB / 0.6011 GB, free: 3.77 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/0.1655, allocations: 109.8 kB / 0.6012 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.1655, allocations: 8 kB / 0.6012 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.1656, allocations: 61.53 kB / 0.6012 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1656, allocations: 4 kB / 0.6012 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1657, allocations: 4 kB / 0.6012 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1657, allocations: 3.953 kB / 0.6012 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1658, allocations: 157.6 kB / 0.6014 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1658, allocations: 3.984 kB / 0.6014 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.1659, allocations: 8 kB / 0.6014 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1659, allocations: 3.938 kB / 0.6014 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.1659, allocations: 0 / 0.6014 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1659, allocations: 0 / 0.6014 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1659, allocations: 3.938 kB / 0.6014 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.166, allocations: 151.5 kB / 0.6016 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.1661, allocations: 77.11 kB / 0.6016 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1661, allocations: 7.984 kB / 0.6016 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.986e-05/0.1661, allocations: 0 / 0.6016 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.1662, allocations: 0 / 0.6016 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.1662, allocations: 4 kB / 0.6016 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.111e-05/0.1662, allocations: 79.28 kB / 0.6017 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1662, allocations: 0 / 0.6017 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002555/0.1665, allocations: 23.94 kB / 0.6017 GB, free: 2.973 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001585/0.1666, allocations: 119.2 kB / 0.6019 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.033e-05/0.1667, allocations: 23.94 kB / 0.6019 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1667, allocations: 0 / 0.6019 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.008e-05/0.1668, allocations: 15.98 kB / 0.6019 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.1669, allocations: 3.953 kB / 0.6019 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.1672, allocations: 132.8 kB / 0.602 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.1674, allocations: 0.6809 MB / 0.6027 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.1674, allocations: 11.94 kB / 0.6027 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.1674, allocations: 7.438 kB / 0.6027 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1675, allocations: 0 / 0.6027 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of Templates: time 0.002235/0.1697, allocations: 0.4942 MB / 0.6032 GB, free: 1.43 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) Environment - environmentSimulation: