Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.53/0.53, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 349.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009604, allocations: 106.4 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.00111, allocations: 55.92 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3182, allocations: 70.05 MB / 0.5575 GB, free: 44.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002491/0.3207, allocations: 1.307 MB / 0.5588 GB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.3216, allocations: 0.6101 MB / 0.5594 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.3216, allocations: 0 / 0.5594 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.3216, allocations: 0 / 0.5594 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.3217, allocations: 5.125 kB / 0.5594 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.3221, allocations: 117.4 kB / 0.5595 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.884e-05/0.3221, allocations: 12.78 kB / 0.5595 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.3222, allocations: 1.531 kB / 0.5595 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.3222, allocations: 6.047 kB / 0.5595 GB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.3223, allocations: 2.719 kB / 0.5595 GB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3223, allocations: 0 / 0.5595 GB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.3227, allocations: 347.9 kB / 0.5598 GB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.3227, allocations: 7.922 kB / 0.5598 GB, free: 42.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.3228, allocations: 4 kB / 0.5598 GB, free: 42.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.323, allocations: 145.8 kB / 0.56 GB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.323, allocations: 0 / 0.56 GB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.323, allocations: 0 / 0.56 GB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.323, allocations: 0 / 0.56 GB, free: 42.64 MB / 410.7 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.0003279/0.3234, allocations: 351.5 kB / 0.5603 GB, free: 42.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3234, allocations: 15.97 kB / 0.5603 GB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.3235, allocations: 4.938 kB / 0.5603 GB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/0.3235, allocations: 164.4 kB / 0.5605 GB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3236, allocations: 384 / 0.5605 GB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3236, allocations: 384 / 0.5605 GB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.081e-05/0.3237, allocations: 30.27 kB / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3237, allocations: 192 / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3237, allocations: 3.938 kB / 0.5605 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3237, allocations: 0 / 0.5605 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.494e-05/0.3237, allocations: 8 kB / 0.5605 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.3239, allocations: 153.7 kB / 0.5607 GB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.3239, allocations: 30.55 kB / 0.5607 GB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.3239, allocations: 8.922 kB / 0.5607 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.324, allocations: 0 / 0.5607 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.324, allocations: 30.56 kB / 0.5607 GB, free: 41.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.324, allocations: 0 / 0.5607 GB, free: 41.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.3241, allocations: 53.62 kB / 0.5608 GB, free: 41.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.3242, allocations: 55.34 kB / 0.5609 GB, free: 41.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.835e-05/0.3242, allocations: 89.86 kB / 0.5609 GB, free: 41.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.3242, allocations: 29.7 kB / 0.561 GB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.3242, allocations: 84.14 kB / 0.561 GB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3243, allocations: 15.77 kB / 0.5611 GB, free: 41.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.3243, allocations: 13.72 kB / 0.5611 GB, free: 41.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.3243, allocations: 319.1 kB / 0.5614 GB, free: 40.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.3244, allocations: 0 / 0.5614 GB, free: 40.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.3244, allocations: 4 kB / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/0.3244, allocations: 8.859 kB / 0.5614 GB, free: 40.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3244, allocations: 0 / 0.5614 GB, free: 40.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.804e-05/0.3245, allocations: 45.62 kB / 0.5614 GB, free: 40.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.3245, allocations: 5.875 kB / 0.5614 GB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3245, allocations: 7.938 kB / 0.5614 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3245, allocations: 4.094 kB / 0.5615 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.3247, allocations: 11.98 kB / 0.5615 GB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002267/0.3249, allocations: 0.5782 MB / 0.562 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.3249, allocations: 3.906 kB / 0.562 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.325, allocations: 0 / 0.562 GB, free: 40.29 MB / 410.7 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.096e-05/0.325, allocations: 117.9 kB / 0.5621 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.325, allocations: 7.938 kB / 0.5622 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.3251, allocations: 48.75 kB / 0.5622 GB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3251, allocations: 0 / 0.5622 GB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3251, allocations: 0 / 0.5622 GB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3251, allocations: 0 / 0.5622 GB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.64e-05/0.3252, allocations: 153.6 kB / 0.5623 GB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3252, allocations: 0 / 0.5623 GB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.3253, allocations: 8 kB / 0.5624 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3253, allocations: 0 / 0.5624 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3253, allocations: 4.031 kB / 0.5624 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001614/0.3255, allocations: 0.586 MB / 0.5629 GB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3255, allocations: 3.938 kB / 0.5629 GB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.3256, allocations: 0.6203 MB / 0.5635 GB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.3257, allocations: 88.95 kB / 0.5636 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.3257, allocations: 4 kB / 0.5636 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.3257, allocations: 0 / 0.5636 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.3257, allocations: 3.984 kB / 0.5636 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3257, allocations: 0 / 0.5636 GB, free: 38.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.78e-05/0.3257, allocations: 79.28 kB / 0.5637 GB, free: 38.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3258, allocations: 0 / 0.5637 GB, free: 38.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000301/0.3261, allocations: 11.94 kB / 0.5637 GB, free: 38.4 MB / 410.7 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.0001386/0.3262, allocations: 115.3 kB / 0.5638 GB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.3264, allocations: 19.98 kB / 0.5638 GB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3264, allocations: 4 kB / 0.5639 GB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.3265, allocations: 11.98 kB / 0.5639 GB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.3266, allocations: 6.516 kB / 0.5639 GB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.3269, allocations: 203.2 kB / 0.5641 GB, free: 38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3271, allocations: 0.6731 MB / 0.5647 GB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.768e-05/0.3271, allocations: 0 / 0.5647 GB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.899e-06/0.3271, allocations: 7.438 kB / 0.5647 GB, free: 37.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3271, allocations: 0 / 0.5647 GB, free: 37.29 MB / 410.7 MB Notification: Performance of Templates: time 0.002043/0.3292, allocations: 437.8 kB / 0.5651 GB, free: 36.87 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)