Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001141/0.001141, allocations: 108.1 kB / 17.03 MB, free: 5.656 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.00114/0.00114, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7516/0.7516, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 67.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3242, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00195/0.3262, allocations: 1.238 MB / 0.5588 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007827/0.327, allocations: 0.586 MB / 0.5593 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.327, allocations: 1.562 kB / 0.5593 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.3271, allocations: 1.031 kB / 0.5593 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.3271, allocations: 4.547 kB / 0.5594 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.3276, allocations: 148.2 kB / 0.5595 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.198e-05/0.3276, allocations: 10.56 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.3277, allocations: 5.375 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.739e-05/0.3277, allocations: 6.562 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.3277, allocations: 2.312 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.3277, allocations: 0.9688 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.3282, allocations: 345.4 kB / 0.5598 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.3283, allocations: 0 / 0.5598 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.3283, allocations: 7.5 kB / 0.5599 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.3285, allocations: 138.9 kB / 0.56 GB, free: 35.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3285, allocations: 1.625 kB / 0.56 GB, free: 35.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3286, allocations: 0.75 kB / 0.56 GB, free: 35.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3286, allocations: 0 / 0.56 GB, free: 35.2 MB / 446.1 MB 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.0003179/0.3289, allocations: 347.8 kB / 0.5603 GB, free: 34.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3289, allocations: 14.12 kB / 0.5603 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.329, allocations: 2.188 kB / 0.5603 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.708e-05/0.329, allocations: 162.6 kB / 0.5605 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.329, allocations: 1.406 kB / 0.5605 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.3291, allocations: 2.391 kB / 0.5605 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.847e-05/0.3291, allocations: 40.12 kB / 0.5605 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3292, allocations: 192 / 0.5605 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3292, allocations: 3.938 kB / 0.5605 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3292, allocations: 2.656 kB / 0.5605 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.3292, allocations: 7.609 kB / 0.5605 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.3293, allocations: 157.1 kB / 0.5607 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.3294, allocations: 20.41 kB / 0.5607 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.3294, allocations: 12.38 kB / 0.5607 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3294, allocations: 0.6562 kB / 0.5607 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.3295, allocations: 37.62 kB / 0.5608 GB, free: 34.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.3295, allocations: 0 / 0.5608 GB, free: 34.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001267/0.3296, allocations: 46.66 kB / 0.5608 GB, free: 34.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.3296, allocations: 52.75 kB / 0.5609 GB, free: 34.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.3297, allocations: 102.4 kB / 0.561 GB, free: 34.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.3297, allocations: 27.06 kB / 0.561 GB, free: 34.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.447e-05/0.3297, allocations: 80.8 kB / 0.5611 GB, free: 33.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.3298, allocations: 9.828 kB / 0.5611 GB, free: 33.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.3298, allocations: 14.02 kB / 0.5611 GB, free: 33.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.3298, allocations: 317.1 kB / 0.5614 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.3299, allocations: 6.375 kB / 0.5614 GB, free: 33.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.3299, allocations: 4.297 kB / 0.5614 GB, free: 33.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.3299, allocations: 15.27 kB / 0.5614 GB, free: 33.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3299, allocations: 0 / 0.5614 GB, free: 33.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.506e-05/0.33, allocations: 36.94 kB / 0.5614 GB, free: 33.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.33, allocations: 5.625 kB / 0.5614 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.33, allocations: 4.547 kB / 0.5615 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.33, allocations: 1.312 kB / 0.5615 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3302, allocations: 11.14 kB / 0.5615 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002322/0.3304, allocations: 0.5855 MB / 0.562 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.3304, allocations: 0 / 0.562 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3305, allocations: 1.781 kB / 0.562 GB, free: 33 MB / 446.1 MB 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 4.957e-05/0.3305, allocations: 120.8 kB / 0.5622 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-06/0.3305, allocations: 2.391 kB / 0.5622 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.674e-05/0.3306, allocations: 45.48 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3306, allocations: 0 / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3306, allocations: 5 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3307, allocations: 0.6094 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.406e-05/0.3307, allocations: 152.6 kB / 0.5624 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3307, allocations: 0 / 0.5624 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.3308, allocations: 10.45 kB / 0.5624 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3308, allocations: 0.6094 kB / 0.5624 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3308, allocations: 1.844 kB / 0.5624 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001772/0.331, allocations: 0.5883 MB / 0.5629 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.331, allocations: 4.594 kB / 0.5629 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.392e-05/0.3311, allocations: 66.72 kB / 0.563 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.3311, allocations: 79.45 kB / 0.5631 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.3311, allocations: 2.047 kB / 0.5631 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.3311, allocations: 1.375 kB / 0.5631 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.3312, allocations: 4.688 kB / 0.5631 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3312, allocations: 10.95 kB / 0.5631 GB, free: 31.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.707e-05/0.3312, allocations: 77.31 kB / 0.5632 GB, free: 31.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3312, allocations: 0.5938 kB / 0.5632 GB, free: 31.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001982/0.3314, allocations: 12.02 kB / 0.5632 GB, free: 31.8 MB / 446.1 MB 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.0001311/0.3315, allocations: 109 kB / 0.5633 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.3317, allocations: 19.67 kB / 0.5633 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3317, allocations: 5.469 kB / 0.5633 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.3318, allocations: 17.55 kB / 0.5633 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.3319, allocations: 1.5 kB / 0.5633 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.3322, allocations: 107.8 kB / 0.5634 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.362e-05/0.3323, allocations: 0.6768 MB / 0.5641 GB, free: 30.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.629e-05/0.3323, allocations: 6.656 kB / 0.5641 GB, free: 30.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.044e-05/0.3323, allocations: 7.438 kB / 0.5641 GB, free: 30.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3323, allocations: 2.75 kB / 0.5641 GB, free: 30.88 MB / 446.1 MB Notification: Performance of Templates: time 0.002383/0.3347, allocations: 454 kB / 0.5645 GB, free: 30.86 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)