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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001146/0.001146, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9686/0.9686, allocations: 143.1 MB / 433.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1644, allocations: 82.03 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002512/0.167, allocations: 1.286 MB / 0.5957 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.168, allocations: 0.5994 MB / 0.5962 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.168, allocations: 0 / 0.5962 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.1681, allocations: 0 / 0.5962 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.1681, allocations: 3.938 kB / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.1687, allocations: 150.7 kB / 0.5964 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.089e-05/0.1687, allocations: 19.94 kB / 0.5964 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.1688, allocations: 4 kB / 0.5964 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.401e-05/0.1688, allocations: 11.97 kB / 0.5964 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.1689, allocations: 11.94 kB / 0.5964 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1689, allocations: 0 / 0.5964 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.1694, allocations: 343.3 kB / 0.5968 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.1694, allocations: 7.922 kB / 0.5968 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.1694, allocations: 15.92 kB / 0.5968 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1697, allocations: 139.9 kB / 0.5969 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1697, allocations: 4 kB / 0.5969 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1697, allocations: 0 / 0.5969 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1698, allocations: 4 kB / 0.5969 GB, free: 6.883 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.000424/0.1702, allocations: 367.3 kB / 0.5973 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1702, allocations: 8.031 kB / 0.5973 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.1703, allocations: 34.75 kB / 0.5973 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.1703, allocations: 4.938 kB / 0.5973 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1704, allocations: 164.3 kB / 0.5975 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1704, allocations: 384 / 0.5975 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1704, allocations: 4.375 kB / 0.5975 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1706, allocations: 42.25 kB / 0.5975 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1706, allocations: 3.938 kB / 0.5975 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1706, allocations: 8 kB / 0.5975 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1706, allocations: 0 / 0.5975 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.605e-05/0.1706, allocations: 11.98 kB / 0.5975 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.1709, allocations: 249 kB / 0.5978 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1712, allocations: 54.5 kB / 0.5978 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.1712, allocations: 28.78 kB / 0.5979 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1712, allocations: 3.984 kB / 0.5979 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.1713, allocations: 30.56 kB / 0.5979 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1713, allocations: 0 / 0.5979 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001691/0.1714, allocations: 65.53 kB / 0.598 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.1715, allocations: 51.41 kB / 0.598 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.1715, allocations: 93.86 kB / 0.5981 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.1716, allocations: 29.7 kB / 0.5981 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.1716, allocations: 88.12 kB / 0.5982 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.1716, allocations: 15.75 kB / 0.5982 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.1717, allocations: 17.72 kB / 0.5982 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.1718, allocations: 310.8 kB / 0.5985 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.1718, allocations: 11.98 kB / 0.5985 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.1718, allocations: 17.72 kB / 0.5986 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.351e-05/0.1719, allocations: 41.64 kB / 0.5986 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1719, allocations: 3.938 kB / 0.5986 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.923e-05/0.172, allocations: 54.06 kB / 0.5987 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.172, allocations: 6.5 kB / 0.5987 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.172, allocations: 4 kB / 0.5987 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.172, allocations: 0 / 0.5987 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.1721, allocations: 8.047 kB / 0.5987 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.1721, allocations: 3.938 kB / 0.5987 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.1721, allocations: 7.922 kB / 0.5987 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1722, allocations: 8.031 kB / 0.5987 GB, free: 4.824 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.497e-05/0.1722, allocations: 109.8 kB / 0.5988 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.1723, allocations: 3.906 kB / 0.5988 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.1724, allocations: 65.17 kB / 0.5989 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1724, allocations: 0 / 0.5989 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1724, allocations: 4 kB / 0.5989 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1724, allocations: 128 / 0.5989 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.1726, allocations: 161.6 kB / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1726, allocations: 4 kB / 0.599 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.1727, allocations: 7.938 kB / 0.599 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1727, allocations: 4 kB / 0.599 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1727, allocations: 0 / 0.599 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1727, allocations: 0 / 0.599 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.1727, allocations: 7.922 kB / 0.599 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.1728, allocations: 147.5 kB / 0.5992 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.1729, allocations: 81.05 kB / 0.5993 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1729, allocations: 4 kB / 0.5993 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.1729, allocations: 4 kB / 0.5993 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.173, allocations: 0 / 0.5993 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.173, allocations: 0 / 0.5993 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.173, allocations: 87.27 kB / 0.5994 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.173, allocations: 0 / 0.5994 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002464/0.1733, allocations: 16 kB / 0.5994 GB, free: 4.031 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 (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.000494/0.1738, allocations: 0.7045 MB / 0.6001 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1739, allocations: 27.92 kB / 0.6001 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1739, allocations: 0 / 0.6001 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.1739, allocations: 12 kB / 0.6001 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.1741, allocations: 0 / 0.6001 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.1746, allocations: 168.2 kB / 0.6003 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1749, allocations: 0.6768 MB / 0.6009 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.175, allocations: 4 kB / 0.6009 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.175, allocations: 11.44 kB / 0.6009 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.175, allocations: 0 / 0.6009 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.1934, allocations: 1.388 MB / 0.6023 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.548, allocations: 448 / 0.6023 GB, free: 1.074 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)