Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.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: "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001709/0.001709, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.29/1.29, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7327/0.7327, allocations: 122.8 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002356, allocations: 55.91 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3653, allocations: 77.92 MB / 0.5673 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001983/0.3673, allocations: 0.5848 MB / 0.5678 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 4.014e-05/0.3674, allocations: 2.141 kB / 0.5678 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.3674, allocations: 1.531 kB / 0.5679 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.3675, allocations: 4.531 kB / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.122e-06/0.3675, allocations: 0.9062 kB / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.002e-05/0.3675, allocations: 0 / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.709e-05/0.3676, allocations: 5.312 kB / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.3676, allocations: 2.984 kB / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/0.3676, allocations: 0.5312 kB / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.115e-05/0.3677, allocations: 1.031 kB / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3677, allocations: 2.406 kB / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-06/0.3677, allocations: 0 / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.3677, allocations: 1.531 kB / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.3677, allocations: 5.016 kB / 0.5679 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.031e-05/0.3678, allocations: 0 / 0.5679 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3678, allocations: 1.312 kB / 0.5679 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3678, allocations: 5.531 kB / 0.5679 GB, free: 32.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3678, allocations: 0 / 0.5679 GB, free: 32.48 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002145/0.368, allocations: 312.6 kB / 0.5682 GB, free: 32.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3681, allocations: 10.53 kB / 0.5682 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.3681, allocations: 31.97 kB / 0.5682 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.3681, allocations: 2.484 kB / 0.5682 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.896e-05/0.3682, allocations: 162.4 kB / 0.5684 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.3682, allocations: 1.688 kB / 0.5684 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-06/0.3682, allocations: 384 / 0.5684 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.313e-05/0.3683, allocations: 34.78 kB / 0.5684 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.3683, allocations: 3.938 kB / 0.5684 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.3683, allocations: 1.062 kB / 0.5684 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3683, allocations: 0 / 0.5684 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.451e-05/0.3684, allocations: 5.969 kB / 0.5684 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.247e-05/0.3684, allocations: 149.7 kB / 0.5686 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.581e-05/0.3685, allocations: 17.17 kB / 0.5686 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.3685, allocations: 8.5 kB / 0.5686 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.3685, allocations: 2.219 kB / 0.5686 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.3685, allocations: 35.06 kB / 0.5686 GB, free: 31.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.3685, allocations: 6.016 kB / 0.5686 GB, free: 31.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.436e-05/0.3686, allocations: 39.84 kB / 0.5687 GB, free: 31.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.3687, allocations: 52.44 kB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.323e-05/0.3687, allocations: 91.48 kB / 0.5688 GB, free: 31.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-06/0.3687, allocations: 26.42 kB / 0.5688 GB, free: 31.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.887e-06/0.3687, allocations: 81.55 kB / 0.5689 GB, free: 31.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3687, allocations: 5 kB / 0.5689 GB, free: 31.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.3688, allocations: 12.88 kB / 0.5689 GB, free: 31.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.3688, allocations: 312 kB / 0.5692 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.3688, allocations: 6.266 kB / 0.5692 GB, free: 30.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-06/0.3688, allocations: 2.719 kB / 0.5692 GB, free: 30.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.823e-05/0.3688, allocations: 12.08 kB / 0.5692 GB, free: 30.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3688, allocations: 0 / 0.5692 GB, free: 30.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.925e-05/0.3689, allocations: 31.86 kB / 0.5693 GB, free: 30.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3689, allocations: 6.609 kB / 0.5693 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3689, allocations: 6.031 kB / 0.5693 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.3689, allocations: 0 / 0.5693 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.369, allocations: 10.41 kB / 0.5693 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.369, allocations: 1.062 kB / 0.5693 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.369, allocations: 1.266 kB / 0.5693 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.369, allocations: 1.062 kB / 0.5693 GB, free: 30.88 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.3691, allocations: 111.9 kB / 0.5694 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.3691, allocations: 2.781 kB / 0.5694 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.226e-05/0.3691, allocations: 8.141 kB / 0.5694 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3691, allocations: 0 / 0.5694 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.3691, allocations: 5 kB / 0.5694 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.3691, allocations: 1.938 kB / 0.5694 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.316e-05/0.3691, allocations: 147.1 kB / 0.5696 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3692, allocations: 1.031 kB / 0.5696 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-06/0.3692, allocations: 2.094 kB / 0.5696 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3692, allocations: 1.156 kB / 0.5696 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.3692, allocations: 5.156 kB / 0.5696 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.3692, allocations: 0 / 0.5696 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3692, allocations: 2.125 kB / 0.5696 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.3e-05/0.3692, allocations: 56.88 kB / 0.5696 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.3693, allocations: 80.2 kB / 0.5697 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.3693, allocations: 8.906 kB / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-06/0.3693, allocations: 2.5 kB / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.3693, allocations: 0 / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3693, allocations: 1.5 kB / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.145e-05/0.3693, allocations: 75.78 kB / 0.5698 GB, free: 30.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3693, allocations: 0 / 0.5698 GB, free: 30.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000195/0.3695, allocations: 1.875 kB / 0.5698 GB, free: 30.32 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000171/0.3697, allocations: 0.5943 MB / 0.5704 GB, free: 29.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.048e-05/0.3698, allocations: 3.906 kB / 0.5704 GB, free: 29.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3698, allocations: 1.375 kB / 0.5704 GB, free: 29.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.3698, allocations: 11.36 kB / 0.5704 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.3699, allocations: 2.188 kB / 0.5704 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.3702, allocations: 98.47 kB / 0.5705 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.918e-05/0.3703, allocations: 0.6732 MB / 0.5711 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.23e-05/0.3703, allocations: 1.156 kB / 0.5711 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.3703, allocations: 9.25 kB / 0.5712 GB, free: 28.88 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3703, allocations: 0 / 0.5712 GB, free: 28.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.3855, allocations: 0.8545 MB / 0.572 GB, free: 28.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.046/7.431, allocations: 5.891 kB / 0.572 GB, free: 28.55 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)