Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008994/0.0008993, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001106/0.001106, allocations: 172.7 kB / 15.95 MB, free: 204 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.315/1.315, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9571/0.9571, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 12 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1592, allocations: 83.42 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001202/0.1604, allocations: 0.9706 MB / 0.5985 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007969/0.1612, allocations: 0.5454 MB / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.1613, allocations: 0 / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.1613, allocations: 0 / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.953e-05/0.1613, allocations: 4 kB / 0.599 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.1617, allocations: 115.6 kB / 0.5991 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.1618, allocations: 11.92 kB / 0.5992 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.1618, allocations: 4 kB / 0.5992 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.1619, allocations: 8 kB / 0.5992 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.054e-05/0.1619, allocations: 7.938 kB / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.1619, allocations: 0 / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.1624, allocations: 331.3 kB / 0.5995 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.782e-06/0.1624, allocations: 0 / 0.5995 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.1624, allocations: 25.7 kB / 0.5995 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1626, allocations: 96.11 kB / 0.5996 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1626, allocations: 4 kB / 0.5996 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1626, allocations: 0 / 0.5996 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.1626, allocations: 0 / 0.5996 GB, free: 5.566 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003365/0.163, allocations: 351.3 kB / 0.5999 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.163, allocations: 12.03 kB / 0.6 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.1631, allocations: 38.5 kB / 0.6 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.1631, allocations: 3.953 kB / 0.6 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1632, allocations: 163 kB / 0.6001 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1632, allocations: 0 / 0.6001 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.1632, allocations: 4 kB / 0.6002 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.871e-05/0.1633, allocations: 33.62 kB / 0.6002 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1633, allocations: 4 kB / 0.6002 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.1633, allocations: 4 kB / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1634, allocations: 0 / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/0.1634, allocations: 0 / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.1635, allocations: 153.6 kB / 0.6003 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.474e-05/0.1636, allocations: 30.58 kB / 0.6004 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.1636, allocations: 8.922 kB / 0.6004 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1636, allocations: 0 / 0.6004 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1637, allocations: 38.5 kB / 0.6004 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.1637, allocations: 4 kB / 0.6004 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.1638, allocations: 37.7 kB / 0.6005 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1638, allocations: 55.39 kB / 0.6005 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.669e-05/0.1639, allocations: 93.86 kB / 0.6006 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.1639, allocations: 25.7 kB / 0.6006 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.164, allocations: 84.14 kB / 0.6007 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.164, allocations: 4.156 kB / 0.6007 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.164, allocations: 7.938 kB / 0.6007 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.1641, allocations: 318.8 kB / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.1641, allocations: 0 / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-06/0.1641, allocations: 3.984 kB / 0.601 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.989e-05/0.1642, allocations: 8 kB / 0.601 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1642, allocations: 3.938 kB / 0.601 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.199e-05/0.1642, allocations: 33.7 kB / 0.6011 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1643, allocations: 8 kB / 0.6011 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1643, allocations: 4.094 kB / 0.6011 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1643, allocations: 0 / 0.6011 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1644, allocations: 11.98 kB / 0.6011 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003641/0.1648, allocations: 0.5821 MB / 0.6017 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.1648, allocations: 0 / 0.6017 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1649, allocations: 3.938 kB / 0.6017 GB, free: 3.215 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8e-05/0.1649, allocations: 121.9 kB / 0.6018 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.165, allocations: 0 / 0.6018 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1651, allocations: 44.81 kB / 0.6018 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1651, allocations: 0 / 0.6018 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1651, allocations: 3.953 kB / 0.6018 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.1651, allocations: 0 / 0.6018 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1652, allocations: 153.6 kB / 0.602 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1652, allocations: 0 / 0.602 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.1653, allocations: 11.98 kB / 0.602 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.1653, allocations: 4.031 kB / 0.602 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1653, allocations: 0 / 0.602 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002959/0.1656, allocations: 0.5938 MB / 0.6026 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1656, allocations: 0 / 0.6026 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.971e-05/0.1657, allocations: 69.22 kB / 0.6026 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.1658, allocations: 77.11 kB / 0.6027 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1658, allocations: 3.953 kB / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/0.1658, allocations: 0 / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.1658, allocations: 4 kB / 0.6027 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1658, allocations: 0 / 0.6027 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.1659, allocations: 75.28 kB / 0.6028 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1659, allocations: 3.938 kB / 0.6028 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001979/0.1661, allocations: 15.92 kB / 0.6028 GB, free: 1.922 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004117/0.1665, allocations: 0.6181 MB / 0.6034 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1667, allocations: 15.98 kB / 0.6034 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1667, allocations: 0 / 0.6034 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.357e-05/0.1668, allocations: 24.02 kB / 0.6034 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.1669, allocations: 3.953 kB / 0.6034 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.1673, allocations: 136.7 kB / 0.6036 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1676, allocations: 0.677 MB / 0.6042 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.577e-05/0.1676, allocations: 0 / 0.6042 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.1676, allocations: 11.5 kB / 0.6042 GB, free: 348 kB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1676, allocations: 4 kB / 0.6043 GB, free: 344 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2795/0.4471, allocations: 1.172 MB / 0.6054 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.4473, allocations: 263 kB / 0.6056 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.098, allocations: 2.125 kB / 0.6056 GB, free: 39.87 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: