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.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: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001118/0.001119, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.296/1.296, allocations: 222.9 MB / 239.9 MB, free: 4.445 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.9298/0.9298, allocations: 143 MB / 433.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.5137 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1539, allocations: 82.04 MB / 0.5938 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002611/0.1565, allocations: 1.306 MB / 0.5951 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.1575, allocations: 0.5955 MB / 0.5956 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1576, allocations: 4 kB / 0.5956 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.1576, allocations: 0 / 0.5956 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.1577, allocations: 3.938 kB / 0.5956 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.1582, allocations: 119 kB / 0.5958 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.973e-05/0.1582, allocations: 15.91 kB / 0.5958 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.1583, allocations: 4 kB / 0.5958 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.1583, allocations: 0 / 0.5958 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.1584, allocations: 8 kB / 0.5958 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1584, allocations: 4 kB / 0.5958 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.1589, allocations: 339.3 kB / 0.5961 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.1589, allocations: 11.92 kB / 0.5961 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.1589, allocations: 3.984 kB / 0.5961 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1591, allocations: 143.9 kB / 0.5963 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1592, allocations: 0 / 0.5963 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1592, allocations: 0 / 0.5963 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1592, allocations: 0 / 0.5963 GB, free: 7.391 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.0004052/0.1596, allocations: 347.5 kB / 0.5966 GB, free: 7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1596, allocations: 12.62 kB / 0.5966 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.1597, allocations: 4.938 kB / 0.5966 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1598, allocations: 164.3 kB / 0.5968 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1598, allocations: 8.359 kB / 0.5968 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.1598, allocations: 384 / 0.5968 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.462e-05/0.1599, allocations: 34.25 kB / 0.5968 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1599, allocations: 192 / 0.5968 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1599, allocations: 3.938 kB / 0.5968 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.16, allocations: 4 kB / 0.5968 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.16, allocations: 3.938 kB / 0.5968 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.1601, allocations: 157.7 kB / 0.597 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.081e-05/0.1602, allocations: 18.61 kB / 0.597 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.1602, allocations: 12.92 kB / 0.597 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1603, allocations: 0 / 0.597 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1603, allocations: 30.56 kB / 0.597 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1603, allocations: 0 / 0.597 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.1604, allocations: 57.56 kB / 0.5971 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.1605, allocations: 51.41 kB / 0.5971 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.1605, allocations: 93.86 kB / 0.5972 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.1606, allocations: 25.7 kB / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.1606, allocations: 84.08 kB / 0.5973 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1606, allocations: 3.906 kB / 0.5973 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1606, allocations: 17.72 kB / 0.5974 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.1607, allocations: 319.1 kB / 0.5977 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.1608, allocations: 0 / 0.5977 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.1608, allocations: 7.938 kB / 0.5977 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.1608, allocations: 16.86 kB / 0.5977 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1608, allocations: 0 / 0.5977 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.972e-05/0.1609, allocations: 41.64 kB / 0.5977 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1609, allocations: 11.98 kB / 0.5977 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1609, allocations: 3.938 kB / 0.5977 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1609, allocations: 4.094 kB / 0.5977 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1611, allocations: 8 kB / 0.5977 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003151/0.1614, allocations: 0.5821 MB / 0.5983 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.1614, allocations: 0 / 0.5983 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1614, allocations: 3.984 kB / 0.5983 GB, free: 5.039 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/0.1615, allocations: 117.8 kB / 0.5984 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.1615, allocations: 4 kB / 0.5984 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.484e-05/0.1616, allocations: 44.81 kB / 0.5985 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1616, allocations: 0 / 0.5985 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1616, allocations: 0 / 0.5985 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1617, allocations: 0 / 0.5985 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.1618, allocations: 157.5 kB / 0.5986 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1618, allocations: 0 / 0.5986 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.1618, allocations: 11.98 kB / 0.5986 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1618, allocations: 0 / 0.5986 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1619, allocations: 4.031 kB / 0.5986 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002613/0.1621, allocations: 0.586 MB / 0.5992 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1621, allocations: 3.938 kB / 0.5992 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.367e-05/0.1622, allocations: 61.12 kB / 0.5993 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.1622, allocations: 77.23 kB / 0.5994 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1623, allocations: 4 kB / 0.5994 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.571e-05/0.1623, allocations: 4 kB / 0.5994 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.1623, allocations: 7.922 kB / 0.5994 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1623, allocations: 0 / 0.5994 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.866e-05/0.1623, allocations: 79.28 kB / 0.5994 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1623, allocations: 4 kB / 0.5994 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001927/0.1625, allocations: 7.938 kB / 0.5995 GB, free: 3.754 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.1627, allocations: 128.2 kB / 0.5996 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.1629, allocations: 19.92 kB / 0.5996 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1629, allocations: 4 kB / 0.5996 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.163, allocations: 15.98 kB / 0.5996 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1631, allocations: 3.938 kB / 0.5996 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.1634, allocations: 106.1 kB / 0.5997 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.1637, allocations: 0.6767 MB / 0.6004 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.521e-05/0.1637, allocations: 0 / 0.6004 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.45e-05/0.1637, allocations: 11.44 kB / 0.6004 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1637, allocations: 0 / 0.6004 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.002386/0.1661, allocations: 450.1 kB / 0.6008 GB, free: 2.324 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)