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.0007692/0.0007694, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006482/0.006482, allocations: 170 kB / 16.26 MB, free: 6.613 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.397/1.397, allocations: 223.2 MB / 240.3 MB, free: 5.352 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 1.03/1.03, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 12.28 kB / 0.5164 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2035, allocations: 83.42 MB / 0.5978 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001471/0.205, allocations: 0.9705 MB / 0.5988 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.2061, allocations: 0.5996 MB / 0.5994 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.2062, allocations: 4 kB / 0.5994 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.2062, allocations: 0 / 0.5994 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.2062, allocations: 0 / 0.5994 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.2067, allocations: 122.8 kB / 0.5995 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.041e-05/0.2068, allocations: 19.86 kB / 0.5995 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.2068, allocations: 0 / 0.5995 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.2069, allocations: 4 kB / 0.5995 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.2069, allocations: 0 / 0.5995 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2069, allocations: 0 / 0.5995 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005166/0.2074, allocations: 347.3 kB / 0.5999 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.2075, allocations: 8 kB / 0.5999 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.2075, allocations: 29.64 kB / 0.5999 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2078, allocations: 136 kB / 0.6 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2078, allocations: 0 / 0.6 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2078, allocations: 4 kB / 0.6 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2078, allocations: 0 / 0.6 GB, free: 5.496 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.0003952/0.2082, allocations: 351.4 kB / 0.6004 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2082, allocations: 8.031 kB / 0.6004 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.2083, allocations: 0.9375 kB / 0.6004 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2084, allocations: 168.3 kB / 0.6005 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2084, allocations: 384 / 0.6005 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.2084, allocations: 384 / 0.6005 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.915e-05/0.2085, allocations: 42.25 kB / 0.6006 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2085, allocations: 192 / 0.6006 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.2086, allocations: 3.938 kB / 0.6006 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2086, allocations: 0 / 0.6006 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.2086, allocations: 11.88 kB / 0.6006 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.2088, allocations: 149.7 kB / 0.6007 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.2088, allocations: 22.61 kB / 0.6007 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.2089, allocations: 4.859 kB / 0.6008 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2089, allocations: 8.062 kB / 0.6008 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.2089, allocations: 34.56 kB / 0.6008 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.2089, allocations: 0 / 0.6008 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001437/0.2091, allocations: 45.56 kB / 0.6008 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2091, allocations: 51.41 kB / 0.6009 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.2092, allocations: 97.86 kB / 0.601 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.2092, allocations: 25.95 kB / 0.601 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.2093, allocations: 84.14 kB / 0.6011 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2093, allocations: 7.906 kB / 0.6011 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.2093, allocations: 9.719 kB / 0.6011 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2094, allocations: 318.8 kB / 0.6014 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.2095, allocations: 0 / 0.6014 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.2095, allocations: 4 kB / 0.6014 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.2095, allocations: 12.86 kB / 0.6014 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2095, allocations: 4 kB / 0.6014 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.759e-05/0.2096, allocations: 41.69 kB / 0.6015 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2096, allocations: 13.97 kB / 0.6015 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2096, allocations: 3.938 kB / 0.6015 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2096, allocations: 0 / 0.6015 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2098, allocations: 8 kB / 0.6015 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004429/0.2102, allocations: 0.5821 MB / 0.6021 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.2103, allocations: 4.125 kB / 0.6021 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.2103, allocations: 7.969 kB / 0.6021 GB, free: 3.152 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 8.676e-05/0.2104, allocations: 113.8 kB / 0.6022 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.2104, allocations: 4 kB / 0.6022 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2105, allocations: 44.81 kB / 0.6022 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2105, allocations: 3.984 kB / 0.6022 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2105, allocations: 0 / 0.6022 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2105, allocations: 4 kB / 0.6022 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.2106, allocations: 149.7 kB / 0.6024 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2107, allocations: 3.984 kB / 0.6024 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.2107, allocations: 8 kB / 0.6024 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2107, allocations: 0 / 0.6024 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2108, allocations: 7.938 kB / 0.6024 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003366/0.2111, allocations: 0.5898 MB / 0.603 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2111, allocations: 3.938 kB / 0.603 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.303e-05/0.2112, allocations: 65.25 kB / 0.603 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.2112, allocations: 77.11 kB / 0.6031 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.2113, allocations: 4 kB / 0.6031 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/0.2113, allocations: 0 / 0.6031 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.2113, allocations: 7.922 kB / 0.6031 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.2113, allocations: 0 / 0.6031 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.2114, allocations: 83.31 kB / 0.6032 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2114, allocations: 3.938 kB / 0.6032 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001857/0.2116, allocations: 12 kB / 0.6032 GB, free: 1.855 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.0001718/0.2117, allocations: 112.6 kB / 0.6033 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.2119, allocations: 23.98 kB / 0.6033 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2119, allocations: 0 / 0.6033 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.212, allocations: 12.14 kB / 0.6034 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2121, allocations: 14.81 kB / 0.6034 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.2125, allocations: 115.1 kB / 0.6035 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2127, allocations: 0.6692 MB / 0.6041 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.668e-05/0.2127, allocations: 4 kB / 0.6041 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.2127, allocations: 7.438 kB / 0.6041 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.2128, allocations: 4 kB / 0.6041 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of Templates: time 0.002739/0.2155, allocations: 436.2 kB / 0.6046 GB, free: 452 kB / 0.4981 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)