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.0009365/0.0009364, allocations: 100.9 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.0009332/0.0009332, 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.361/1.361, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.013/1.013, allocations: 143.3 MB / 434.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 12 kB / 0.5159 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1775, allocations: 83.42 MB / 0.5974 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001322/0.1789, allocations: 0.9628 MB / 0.5983 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005078/0.1794, allocations: 303.3 kB / 0.5986 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.1794, allocations: 0 / 0.5986 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.1795, allocations: 0 / 0.5986 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.1795, allocations: 7.984 kB / 0.5986 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1798, allocations: 55.8 kB / 0.5987 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.967e-05/0.1798, allocations: 11.97 kB / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.1799, allocations: 0 / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.1799, allocations: 4 kB / 0.5987 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.785e-05/0.18, allocations: 3.938 kB / 0.5987 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.18, allocations: 8 kB / 0.5987 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.1802, allocations: 175.7 kB / 0.5988 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.1803, allocations: 8 kB / 0.5989 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.1803, allocations: 25.7 kB / 0.5989 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.1804, allocations: 44.16 kB / 0.5989 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1804, allocations: 4 kB / 0.5989 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1804, allocations: 0 / 0.5989 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1804, allocations: 0 / 0.5989 GB, free: 6.059 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.0003935/0.1808, allocations: 335.3 kB / 0.5992 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1809, allocations: 16.03 kB / 0.5993 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.1809, allocations: 30.56 kB / 0.5993 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.1809, allocations: 3.953 kB / 0.5993 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1811, allocations: 163 kB / 0.5994 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1811, allocations: 4 kB / 0.5995 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.1811, allocations: 0 / 0.5995 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.534e-05/0.1812, allocations: 41.62 kB / 0.5995 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1812, allocations: 0 / 0.5995 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1812, allocations: 0 / 0.5995 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1812, allocations: 0 / 0.5995 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.1813, allocations: 8 kB / 0.5995 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.1815, allocations: 153.6 kB / 0.5996 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.874e-05/0.1815, allocations: 26.59 kB / 0.5997 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1816, allocations: 0 / 0.5997 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1816, allocations: 30.56 kB / 0.5997 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.1816, allocations: 3.938 kB / 0.5997 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001224/0.1817, allocations: 49.69 kB / 0.5998 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.1818, allocations: 55.41 kB / 0.5998 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.1819, allocations: 89.86 kB / 0.5999 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.1819, allocations: 29.7 kB / 0.5999 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.182, allocations: 80.14 kB / 0.6 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.182, allocations: 7.906 kB / 0.6 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.182, allocations: 0 / 0.6 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1821, allocations: 315 kB / 0.6003 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.1822, allocations: 7.984 kB / 0.6003 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.1822, allocations: 4 kB / 0.6003 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.653e-05/0.1822, allocations: 8 kB / 0.6003 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1822, allocations: 0 / 0.6003 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.735e-05/0.1823, allocations: 37.64 kB / 0.6004 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1823, allocations: 4 kB / 0.6004 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1823, allocations: 0 / 0.6004 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1823, allocations: 0 / 0.6004 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1825, allocations: 15.92 kB / 0.6004 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004398/0.1829, allocations: 0.5861 MB / 0.6009 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.183, allocations: 8.031 kB / 0.601 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.183, allocations: 0 / 0.601 GB, free: 3.73 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 7.451e-05/0.1831, allocations: 109.8 kB / 0.6011 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.1831, allocations: 3.984 kB / 0.6011 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.887e-05/0.1832, allocations: 44.92 kB / 0.6011 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1832, allocations: 4 kB / 0.6011 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1832, allocations: 3.953 kB / 0.6011 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1832, allocations: 0 / 0.6011 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.1833, allocations: 157.6 kB / 0.6013 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1833, allocations: 0 / 0.6013 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.1834, allocations: 15.98 kB / 0.6013 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1834, allocations: 0 / 0.6013 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1834, allocations: 0 / 0.6013 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003091/0.1838, allocations: 0.5899 MB / 0.6019 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1838, allocations: 0 / 0.6019 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.561e-05/0.1838, allocations: 61.16 kB / 0.6019 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.1839, allocations: 81.11 kB / 0.602 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1839, allocations: 3.953 kB / 0.602 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.1839, allocations: 4.125 kB / 0.602 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1839, allocations: 3.938 kB / 0.602 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.184, allocations: 0 / 0.602 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.184, allocations: 79.28 kB / 0.6021 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.035e-06/0.184, allocations: 0 / 0.6021 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001935/0.1842, allocations: 19.86 kB / 0.6021 GB, free: 2.438 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.0004632/0.1847, allocations: 0.6087 MB / 0.6027 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.1848, allocations: 15.98 kB / 0.6027 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1848, allocations: 4 kB / 0.6027 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/0.1849, allocations: 15.92 kB / 0.6027 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.185, allocations: 7.953 kB / 0.6027 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.1854, allocations: 137 kB / 0.6029 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.1858, allocations: 0.677 MB / 0.6035 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.561e-05/0.1859, allocations: 0 / 0.6035 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.1859, allocations: 7.438 kB / 0.6035 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1859, allocations: 0 / 0.6035 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2963/0.4822, allocations: 1.156 MB / 0.6047 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.4825, allocations: 253.3 kB / 0.6049 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.157, allocations: 0.5625 kB / 0.6049 GB, free: 40.62 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: