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: "" <> 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.005802/0.005802, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001364/0.001364, allocations: 197.3 kB / 16.68 MB, free: 5.961 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.8371/0.8371, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 68.75 kB / 0.5951 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1598, allocations: 82.03 MB / 0.6752 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002204/0.162, allocations: 1.246 MB / 0.6764 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.163, allocations: 0.5919 MB / 0.677 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.163, allocations: 0 / 0.677 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.1631, allocations: 3.984 kB / 0.677 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.1631, allocations: 3.938 kB / 0.677 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.1636, allocations: 143.4 kB / 0.6771 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.088e-05/0.1637, allocations: 4 kB / 0.6771 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.1638, allocations: 0 / 0.6771 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.1638, allocations: 11.88 kB / 0.6771 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.1638, allocations: 4 kB / 0.6771 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1639, allocations: 0 / 0.6771 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000488/0.1643, allocations: 339.4 kB / 0.6774 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.1644, allocations: 3.984 kB / 0.6774 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1644, allocations: 11.94 kB / 0.6775 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1647, allocations: 139.1 kB / 0.6776 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1647, allocations: 0 / 0.6776 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1647, allocations: 0 / 0.6776 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.1647, allocations: 0 / 0.6776 GB, free: 8.449 MB / 0.5137 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.0004533/0.1651, allocations: 357.4 kB / 0.6779 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1652, allocations: 8.031 kB / 0.6779 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.1652, allocations: 38.67 kB / 0.678 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.1653, allocations: 4.938 kB / 0.678 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.1654, allocations: 168.3 kB / 0.6781 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1654, allocations: 4.375 kB / 0.6781 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1654, allocations: 384 / 0.6781 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1656, allocations: 38.25 kB / 0.6782 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1656, allocations: 3.938 kB / 0.6782 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1656, allocations: 0 / 0.6782 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1656, allocations: 0 / 0.6782 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.1656, allocations: 4 kB / 0.6782 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.1658, allocations: 157.6 kB / 0.6783 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.697e-05/0.1659, allocations: 26.55 kB / 0.6784 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.1659, allocations: 12.92 kB / 0.6784 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1659, allocations: 0 / 0.6784 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1659, allocations: 30.56 kB / 0.6784 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1659, allocations: 0 / 0.6784 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.1661, allocations: 45.62 kB / 0.6784 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.1661, allocations: 55.47 kB / 0.6785 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.1662, allocations: 101.9 kB / 0.6786 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1662, allocations: 25.7 kB / 0.6786 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.1663, allocations: 80.14 kB / 0.6787 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.1663, allocations: 3.906 kB / 0.6787 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.1663, allocations: 21.7 kB / 0.6787 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1665, allocations: 310.8 kB / 0.679 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.1665, allocations: 0 / 0.679 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.1665, allocations: 8.125 kB / 0.679 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.1665, allocations: 12.86 kB / 0.679 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1665, allocations: 0 / 0.679 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.686e-05/0.1666, allocations: 37.69 kB / 0.6791 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1666, allocations: 11.94 kB / 0.6791 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1666, allocations: 3.938 kB / 0.6791 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1667, allocations: 0 / 0.6791 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1668, allocations: 8 kB / 0.6791 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003639/0.1672, allocations: 0.59 MB / 0.6797 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.1672, allocations: 3.938 kB / 0.6797 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1672, allocations: 0 / 0.6797 GB, free: 6.051 MB / 0.5137 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 8.477e-05/0.1673, allocations: 119.7 kB / 0.6798 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.1673, allocations: 0 / 0.6798 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1674, allocations: 56.78 kB / 0.6798 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1674, allocations: 0 / 0.6798 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1675, allocations: 0 / 0.6798 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1675, allocations: 0 / 0.6798 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.1676, allocations: 157.6 kB / 0.68 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1676, allocations: 4 kB / 0.68 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.1677, allocations: 8 kB / 0.68 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1677, allocations: 0 / 0.68 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1677, allocations: 0 / 0.68 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002898/0.168, allocations: 0.5899 MB / 0.6806 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.168, allocations: 7.969 kB / 0.6806 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.56e-05/0.1681, allocations: 61.08 kB / 0.6806 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.1681, allocations: 77.11 kB / 0.6807 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1681, allocations: 3.984 kB / 0.6807 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.1681, allocations: 0 / 0.6807 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.1682, allocations: 12.06 kB / 0.6807 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1682, allocations: 0 / 0.6807 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.1682, allocations: 75.28 kB / 0.6808 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1682, allocations: 0 / 0.6808 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001933/0.1684, allocations: 11.94 kB / 0.6808 GB, free: 4.758 MB / 0.5137 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.0004137/0.1688, allocations: 0.6204 MB / 0.6814 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.169, allocations: 15.98 kB / 0.6814 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.84e-06/0.169, allocations: 0 / 0.6814 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.1691, allocations: 12 kB / 0.6815 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.1693, allocations: 13.95 kB / 0.6815 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.1698, allocations: 147.6 kB / 0.6816 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.17, allocations: 0.6729 MB / 0.6823 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.473e-05/0.1701, allocations: 0 / 0.6823 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.1701, allocations: 7.438 kB / 0.6823 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1701, allocations: 0 / 0.6823 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.1894, allocations: 1.413 MB / 0.6837 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.13, allocations: 4.422 kB / 0.6837 GB, free: 1.984 MB / 0.5137 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/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)