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.001065/0.001065, allocations: 89.23 kB / 16.66 MB, free: 5.859 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.001328/0.001328, allocations: 176.5 kB / 17.57 MB, free: 5.535 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.372/1.372, allocations: 223.3 MB / 241.6 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7212/0.7212, allocations: 115.5 MB / 408.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3752, allocations: 77.51 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001342/0.3766, allocations: 0.9742 MB / 0.5615 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.3775, allocations: 0.582 MB / 0.5621 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.3775, allocations: 2.125 kB / 0.5621 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.3776, allocations: 0.7969 kB / 0.5621 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.3776, allocations: 5.047 kB / 0.5621 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.3781, allocations: 120.4 kB / 0.5622 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.686e-05/0.3781, allocations: 14.14 kB / 0.5622 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.3782, allocations: 3.328 kB / 0.5622 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.116e-05/0.3782, allocations: 7.062 kB / 0.5622 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.3782, allocations: 2.984 kB / 0.5622 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.3783, allocations: 0.8125 kB / 0.5622 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.3788, allocations: 344.7 kB / 0.5626 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.3788, allocations: 1.109 kB / 0.5626 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.3789, allocations: 32.88 kB / 0.5626 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.3791, allocations: 97.03 kB / 0.5627 GB, free: 34.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3791, allocations: 1.531 kB / 0.5627 GB, free: 34.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3791, allocations: 0 / 0.5627 GB, free: 34.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.3791, allocations: 1.531 kB / 0.5627 GB, free: 34.92 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.0002961/0.3794, allocations: 341.8 kB / 0.563 GB, free: 34.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3795, allocations: 9.594 kB / 0.563 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.3795, allocations: 7 kB / 0.563 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.62e-05/0.3796, allocations: 163.3 kB / 0.5632 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3796, allocations: 4.969 kB / 0.5632 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.3796, allocations: 1.75 kB / 0.5632 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.473e-05/0.3797, allocations: 32.27 kB / 0.5632 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3797, allocations: 4.781 kB / 0.5632 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.3797, allocations: 5.344 kB / 0.5632 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3797, allocations: 1.031 kB / 0.5632 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.748e-05/0.3798, allocations: 3.422 kB / 0.5633 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.3799, allocations: 161.4 kB / 0.5634 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.559e-05/0.38, allocations: 28.39 kB / 0.5634 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.38, allocations: 11.88 kB / 0.5634 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.38, allocations: 7.391 kB / 0.5635 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.38, allocations: 32.7 kB / 0.5635 GB, free: 34.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.38, allocations: 0 / 0.5635 GB, free: 34.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001355/0.3802, allocations: 48.97 kB / 0.5635 GB, free: 33.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.3802, allocations: 52.5 kB / 0.5636 GB, free: 33.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.94e-05/0.3803, allocations: 95.14 kB / 0.5637 GB, free: 33.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.3803, allocations: 26.95 kB / 0.5637 GB, free: 33.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.662e-05/0.3803, allocations: 80.89 kB / 0.5638 GB, free: 33.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.3803, allocations: 9.25 kB / 0.5638 GB, free: 33.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.3804, allocations: 16.42 kB / 0.5638 GB, free: 33.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.195e-05/0.3804, allocations: 313 kB / 0.5641 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.3804, allocations: 3.484 kB / 0.5641 GB, free: 33.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-06/0.3805, allocations: 2.281 kB / 0.5641 GB, free: 33.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.3805, allocations: 15.47 kB / 0.5641 GB, free: 33.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3805, allocations: 0 / 0.5641 GB, free: 33.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.533e-05/0.3806, allocations: 40.97 kB / 0.5642 GB, free: 33.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3806, allocations: 7.625 kB / 0.5642 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3806, allocations: 3.938 kB / 0.5642 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3806, allocations: 2.375 kB / 0.5642 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.3808, allocations: 9.391 kB / 0.5642 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002594/0.381, allocations: 0.5897 MB / 0.5648 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.3811, allocations: 1.594 kB / 0.5648 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3811, allocations: 1.75 kB / 0.5648 GB, free: 32.72 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 5.963e-05/0.3811, allocations: 114.2 kB / 0.5649 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.3812, allocations: 3.781 kB / 0.5649 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.3813, allocations: 47.97 kB / 0.5649 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3813, allocations: 0 / 0.5649 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3813, allocations: 1.953 kB / 0.5649 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3813, allocations: 0 / 0.5649 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.107e-05/0.3814, allocations: 155.6 kB / 0.5651 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3814, allocations: 1 kB / 0.5651 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.3814, allocations: 10.52 kB / 0.5651 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3814, allocations: 1.094 kB / 0.5651 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3815, allocations: 4.562 kB / 0.5651 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001854/0.3817, allocations: 0.5855 MB / 0.5657 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3817, allocations: 6.156 kB / 0.5657 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.676e-05/0.3817, allocations: 65.61 kB / 0.5657 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.3818, allocations: 79.09 kB / 0.5658 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.3818, allocations: 1.875 kB / 0.5658 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.3818, allocations: 5.547 kB / 0.5658 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.3818, allocations: 6.062 kB / 0.5658 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.3818, allocations: 0.9375 kB / 0.5658 GB, free: 31.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.879e-05/0.3818, allocations: 79.09 kB / 0.5659 GB, free: 31.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3818, allocations: 1.406 kB / 0.5659 GB, free: 31.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001928/0.382, allocations: 15.53 kB / 0.5659 GB, free: 31.52 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.0001418/0.3822, allocations: 105.9 kB / 0.566 GB, free: 31.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3823, allocations: 21.7 kB / 0.566 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3824, allocations: 0.875 kB / 0.566 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.3824, allocations: 17.98 kB / 0.566 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.3826, allocations: 8.141 kB / 0.566 GB, free: 31.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.3829, allocations: 127.4 kB / 0.5662 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.383, allocations: 0.6796 MB / 0.5668 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.155e-05/0.3831, allocations: 8.625 kB / 0.5668 GB, free: 30.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3831, allocations: 0 / 0.5668 GB, free: 30.58 MB / 446.1 MB Notification: Performance of Templates: time 0.002362/0.3854, allocations: 0.6853 MB / 0.5675 GB, free: 30.57 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)