Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001569/0.001568, 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.001936/0.001936, 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 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 251.7 MB / 0.5092 GB, free: 3.051 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00162/0.001621, allocations: 67.91 kB / 0.6223 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5275, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002582/0.5301, allocations: 1.242 MB / 0.7257 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009612/0.5311, allocations: 0.5944 MB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.5311, allocations: 0 / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.5312, allocations: 0 / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.5312, allocations: 0 / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.5317, allocations: 146.1 kB / 0.7265 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.31e-05/0.5318, allocations: 11.94 kB / 0.7265 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.5318, allocations: 0 / 0.7265 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.5319, allocations: 11.98 kB / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.5319, allocations: 7.938 kB / 0.7265 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.5319, allocations: 0 / 0.7265 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.5324, allocations: 347.3 kB / 0.7268 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.5324, allocations: 0 / 0.7268 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.5325, allocations: 0 / 0.7268 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.5328, allocations: 145.5 kB / 0.727 GB, free: 10.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5328, allocations: 0 / 0.727 GB, free: 10.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5328, allocations: 0 / 0.727 GB, free: 10.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5328, allocations: 0 / 0.727 GB, free: 10.42 MB / 0.545 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.0004106/0.5332, allocations: 355.4 kB / 0.7273 GB, free: 10.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.5332, allocations: 12.03 kB / 0.7273 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.5333, allocations: 4.922 kB / 0.7273 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.5334, allocations: 160.4 kB / 0.7275 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.5334, allocations: 4.375 kB / 0.7275 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.5334, allocations: 384 / 0.7275 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.946e-05/0.5335, allocations: 30.27 kB / 0.7275 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.5335, allocations: 192 / 0.7275 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.5336, allocations: 3.938 kB / 0.7275 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5336, allocations: 0 / 0.7275 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.5336, allocations: 15.91 kB / 0.7275 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.5338, allocations: 153.7 kB / 0.7277 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.5338, allocations: 26.61 kB / 0.7277 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.5339, allocations: 8.844 kB / 0.7277 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.5339, allocations: 0 / 0.7277 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.5339, allocations: 34.62 kB / 0.7277 GB, free: 9.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5339, allocations: 3.938 kB / 0.7277 GB, free: 9.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001545/0.5341, allocations: 49.58 kB / 0.7278 GB, free: 9.406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.5341, allocations: 51.41 kB / 0.7278 GB, free: 9.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.5342, allocations: 97.84 kB / 0.7279 GB, free: 9.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.5342, allocations: 25.7 kB / 0.7279 GB, free: 9.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.5343, allocations: 84.14 kB / 0.728 GB, free: 9.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.5343, allocations: 7.844 kB / 0.728 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.5343, allocations: 13.72 kB / 0.728 GB, free: 9.094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5345, allocations: 315.1 kB / 0.7283 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.5345, allocations: 8 kB / 0.7284 GB, free: 8.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-06/0.5345, allocations: 0 / 0.7284 GB, free: 8.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.5345, allocations: 20.78 kB / 0.7284 GB, free: 8.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5345, allocations: 0 / 0.7284 GB, free: 8.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.804e-05/0.5346, allocations: 37.7 kB / 0.7284 GB, free: 8.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.5346, allocations: 4 kB / 0.7284 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5346, allocations: 3.938 kB / 0.7284 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5347, allocations: 4.094 kB / 0.7284 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.5348, allocations: 11.98 kB / 0.7284 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003904/0.5352, allocations: 0.582 MB / 0.729 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.5353, allocations: 3.938 kB / 0.729 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.5353, allocations: 4.031 kB / 0.729 GB, free: 8.066 MB / 0.545 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.501e-05/0.5354, allocations: 113.9 kB / 0.7291 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-06/0.5354, allocations: 3.938 kB / 0.7291 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.5355, allocations: 48.8 kB / 0.7292 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.5355, allocations: 4 kB / 0.7292 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5355, allocations: 0 / 0.7292 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5355, allocations: 0 / 0.7292 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.5356, allocations: 157.6 kB / 0.7293 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5356, allocations: 4 kB / 0.7293 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.5357, allocations: 7.984 kB / 0.7293 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5357, allocations: 4 kB / 0.7293 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.5357, allocations: 4.031 kB / 0.7293 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003053/0.536, allocations: 0.5821 MB / 0.7299 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.536, allocations: 3.938 kB / 0.7299 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.871e-05/0.5361, allocations: 65.06 kB / 0.73 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.5362, allocations: 85.23 kB / 0.7301 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.5362, allocations: 3.938 kB / 0.7301 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.567e-05/0.5362, allocations: 4 kB / 0.7301 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.5362, allocations: 3.938 kB / 0.7301 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.5362, allocations: 0 / 0.7301 GB, free: 6.855 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.5363, allocations: 83.22 kB / 0.7301 GB, free: 6.773 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5363, allocations: 0 / 0.7301 GB, free: 6.773 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002007/0.5365, allocations: 12 kB / 0.7302 GB, free: 6.762 MB / 0.545 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.0001783/0.5367, allocations: 115.3 kB / 0.7303 GB, free: 6.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000168/0.5368, allocations: 19.98 kB / 0.7303 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5369, allocations: 0 / 0.7303 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.537, allocations: 15.98 kB / 0.7303 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.5371, allocations: 0 / 0.7303 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.5374, allocations: 114 kB / 0.7304 GB, free: 6.465 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.5377, allocations: 0.6729 MB / 0.7311 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.475e-05/0.5377, allocations: 0 / 0.7311 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.5377, allocations: 15.42 kB / 0.7311 GB, free: 5.75 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5377, allocations: 0 / 0.7311 GB, free: 5.75 MB / 0.545 GB Notification: Performance of Templates: time 0.002474/0.5402, allocations: 463.7 kB / 0.7315 GB, free: 5.332 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)