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.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005247/0.005247, allocations: 100.5 kB / 15.73 MB, free: 6.445 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.001017/0.001017, allocations: 197.2 kB / 16.68 MB, free: 6.355 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.9681/0.9681, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 71.89 kB / 0.5955 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4036, allocations: 82.01 MB / 0.6756 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002691/0.4064, allocations: 1.25 MB / 0.6768 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.4074, allocations: 0.5977 MB / 0.6774 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.4074, allocations: 1.312 kB / 0.6774 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.4075, allocations: 0 / 0.6774 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.555e-05/0.4075, allocations: 0 / 0.6774 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.4081, allocations: 146 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.798e-05/0.4082, allocations: 13.56 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.4082, allocations: 1.25 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.4083, allocations: 6.109 kB / 0.6776 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.4083, allocations: 10.27 kB / 0.6776 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.4083, allocations: 1.125 kB / 0.6776 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.4089, allocations: 340.3 kB / 0.6779 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.4089, allocations: 1.469 kB / 0.6779 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.4089, allocations: 13.33 kB / 0.6779 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.4092, allocations: 135.4 kB / 0.6781 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4092, allocations: 0 / 0.6781 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.048e-06/0.4092, allocations: 0 / 0.6781 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4092, allocations: 3.938 kB / 0.6781 GB, free: 15.58 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.0004/0.4096, allocations: 346.1 kB / 0.6784 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4097, allocations: 13.84 kB / 0.6784 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.4097, allocations: 4.938 kB / 0.6784 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.4098, allocations: 165.7 kB / 0.6786 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4098, allocations: 5.781 kB / 0.6786 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.4099, allocations: 384 / 0.6786 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.999e-05/0.4099, allocations: 30.23 kB / 0.6786 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.41, allocations: 4.125 kB / 0.6786 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.41, allocations: 3.938 kB / 0.6786 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.41, allocations: 5.297 kB / 0.6786 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.72e-05/0.41, allocations: 2.625 kB / 0.6786 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.4102, allocations: 156.3 kB / 0.6788 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.331e-05/0.4102, allocations: 27.83 kB / 0.6788 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.4103, allocations: 8.047 kB / 0.6788 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.4103, allocations: 0 / 0.6788 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4103, allocations: 36.05 kB / 0.6788 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.4103, allocations: 0 / 0.6788 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001314/0.4105, allocations: 47.33 kB / 0.6789 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.4105, allocations: 51.53 kB / 0.6789 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.331e-05/0.4106, allocations: 97.17 kB / 0.679 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.4106, allocations: 25.7 kB / 0.6791 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.4106, allocations: 84.12 kB / 0.6791 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.4106, allocations: 12.97 kB / 0.6792 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.4107, allocations: 12.06 kB / 0.6792 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4108, allocations: 312.2 kB / 0.6795 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.4108, allocations: 2.219 kB / 0.6795 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.077e-05/0.4108, allocations: 10.16 kB / 0.6795 GB, free: 14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.4109, allocations: 13.27 kB / 0.6795 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4109, allocations: 1.156 kB / 0.6795 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.987e-05/0.4109, allocations: 45.28 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.411, allocations: 5.625 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.411, allocations: 3.938 kB / 0.6795 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.411, allocations: 0.9688 kB / 0.6795 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4111, allocations: 11.64 kB / 0.6796 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003499/0.4115, allocations: 0.5868 MB / 0.6801 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.4115, allocations: 0 / 0.6801 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.4115, allocations: 1.031 kB / 0.6801 GB, free: 13.34 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 7.742e-05/0.4116, allocations: 112.1 kB / 0.6802 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.4116, allocations: 1 kB / 0.6802 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.4117, allocations: 52.53 kB / 0.6803 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4118, allocations: 5.375 kB / 0.6803 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4118, allocations: 0 / 0.6803 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4118, allocations: 0 / 0.6803 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.4119, allocations: 156.8 kB / 0.6804 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4119, allocations: 0 / 0.6804 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.412, allocations: 12.2 kB / 0.6804 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.412, allocations: 0 / 0.6804 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.412, allocations: 0.9375 kB / 0.6804 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002932/0.4123, allocations: 0.5899 MB / 0.681 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4123, allocations: 5.25 kB / 0.681 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.694e-05/0.4124, allocations: 61.53 kB / 0.6811 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.4124, allocations: 78.27 kB / 0.6812 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.4124, allocations: 1.25 kB / 0.6812 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.251e-05/0.4125, allocations: 0 / 0.6812 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.4125, allocations: 12.94 kB / 0.6812 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.4125, allocations: 1.156 kB / 0.6812 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.845e-05/0.4125, allocations: 81.31 kB / 0.6813 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4125, allocations: 0 / 0.6813 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001844/0.4127, allocations: 10.94 kB / 0.6813 GB, free: 12.11 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.0001699/0.4129, allocations: 107.1 kB / 0.6814 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.413, allocations: 20.89 kB / 0.6814 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4131, allocations: 0 / 0.6814 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.359e-05/0.4131, allocations: 22.8 kB / 0.6814 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.4133, allocations: 1.469 kB / 0.6814 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.4136, allocations: 115.6 kB / 0.6815 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.4139, allocations: 0.6759 MB / 0.6822 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.585e-05/0.4139, allocations: 4.125 kB / 0.6822 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.4139, allocations: 8.562 kB / 0.6822 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4139, allocations: 0 / 0.6822 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.002429/0.4163, allocations: 481.6 kB / 0.6827 GB, free: 10.94 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)