Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.0009262/0.0009259, allocations: 99.55 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.0009809/0.0009808, 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.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.014/1.014, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 12 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1728, allocations: 83.41 MB / 0.5974 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001216/0.174, allocations: 0.9628 MB / 0.5983 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005325/0.1746, allocations: 331.1 kB / 0.5986 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.1746, allocations: 3.938 kB / 0.5986 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.1746, allocations: 0 / 0.5986 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.1747, allocations: 4 kB / 0.5986 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.175, allocations: 70.89 kB / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.963e-05/0.175, allocations: 7.984 kB / 0.5987 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1751, allocations: 0 / 0.5987 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.1751, allocations: 11.94 kB / 0.5987 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.1752, allocations: 4 kB / 0.5987 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1752, allocations: 0 / 0.5987 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.1755, allocations: 183.6 kB / 0.5989 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.55e-06/0.1755, allocations: 0 / 0.5989 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.1755, allocations: 25.7 kB / 0.5989 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.1756, allocations: 52.16 kB / 0.599 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1756, allocations: 0 / 0.599 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1756, allocations: 0 / 0.599 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.1757, allocations: 0 / 0.599 GB, free: 6.047 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.0004771/0.1761, allocations: 331.4 kB / 0.5993 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1762, allocations: 8.031 kB / 0.5993 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.1762, allocations: 38.56 kB / 0.5993 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.1762, allocations: 3.953 kB / 0.5993 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1764, allocations: 166.9 kB / 0.5995 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1764, allocations: 7.938 kB / 0.5995 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-06/0.1764, allocations: 4 kB / 0.5995 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.087e-05/0.1765, allocations: 29.69 kB / 0.5995 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1765, allocations: 0 / 0.5995 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1765, allocations: 4 kB / 0.5995 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1765, allocations: 4 kB / 0.5995 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.1766, allocations: 3.953 kB / 0.5995 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.1767, allocations: 157.7 kB / 0.5997 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.309e-05/0.1767, allocations: 26.55 kB / 0.5997 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1768, allocations: 4.062 kB / 0.5997 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.1768, allocations: 34.56 kB / 0.5997 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1768, allocations: 0 / 0.5997 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001202/0.1769, allocations: 41.69 kB / 0.5998 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.177, allocations: 55.34 kB / 0.5998 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.419e-05/0.177, allocations: 93.86 kB / 0.5999 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.177, allocations: 25.7 kB / 0.5999 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.1771, allocations: 80.14 kB / 0.6 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.1771, allocations: 3.906 kB / 0.6 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.1771, allocations: 12.25 kB / 0.6 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.1772, allocations: 314.8 kB / 0.6003 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.1772, allocations: 7.922 kB / 0.6003 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-06/0.1772, allocations: 7.938 kB / 0.6004 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.351e-05/0.1772, allocations: 0 / 0.6004 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1773, allocations: 0 / 0.6004 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.673e-05/0.1773, allocations: 41.7 kB / 0.6004 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1773, allocations: 5.875 kB / 0.6004 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1773, allocations: 96 / 0.6004 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1774, allocations: 4 kB / 0.6004 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1775, allocations: 15.97 kB / 0.6004 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003235/0.1778, allocations: 0.5859 MB / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.1779, allocations: 0 / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1779, allocations: 4.031 kB / 0.601 GB, free: 3.711 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.056e-05/0.178, allocations: 112.3 kB / 0.6011 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.178, allocations: 0 / 0.6011 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.645e-05/0.1781, allocations: 44.81 kB / 0.6011 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1781, allocations: 0 / 0.6011 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1781, allocations: 3.953 kB / 0.6012 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1781, allocations: 4 kB / 0.6012 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.1783, allocations: 153.6 kB / 0.6013 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1783, allocations: 0 / 0.6013 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.1783, allocations: 15.92 kB / 0.6013 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1783, allocations: 32 / 0.6013 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1784, allocations: 8 kB / 0.6013 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002782/0.1786, allocations: 0.5821 MB / 0.6019 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1787, allocations: 0 / 0.6019 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.359e-05/0.1787, allocations: 61.16 kB / 0.602 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.1788, allocations: 85.17 kB / 0.602 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1788, allocations: 7.953 kB / 0.602 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.666e-05/0.1788, allocations: 4 kB / 0.602 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.1788, allocations: 3.938 kB / 0.602 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1788, allocations: 0 / 0.602 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.1789, allocations: 79.28 kB / 0.6021 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1789, allocations: 0 / 0.6021 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001901/0.1791, allocations: 7.984 kB / 0.6021 GB, free: 2.43 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.0003835/0.1795, allocations: 0.6125 MB / 0.6027 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1796, allocations: 23.92 kB / 0.6028 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1796, allocations: 3.938 kB / 0.6028 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.1797, allocations: 16.08 kB / 0.6028 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.344e-05/0.1798, allocations: 8.016 kB / 0.6028 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.1802, allocations: 136.9 kB / 0.6029 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1805, allocations: 0.677 MB / 0.6036 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.538e-05/0.1805, allocations: 0 / 0.6036 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.1805, allocations: 7.438 kB / 0.6036 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1805, allocations: 4 kB / 0.6036 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2972/0.4777, allocations: 1.143 MB / 0.6047 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.4779, allocations: 247.9 kB / 0.6049 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.195, allocations: 0 / 0.6049 GB, free: 40.14 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: