Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.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.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",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.001223/0.001223, allocations: 110.4 kB / 16.27 MB, free: 6.012 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.001265/0.001265, allocations: 186.1 kB / 17.2 MB, free: 5.625 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.309/1.309, 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.7416/0.7416, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3035, allocations: 77.92 MB / 0.5673 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.001488/0.3051, allocations: 0.5114 MB / 0.5678 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 9.713e-05/0.3052, allocations: 19.39 kB / 0.5678 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.3052, allocations: 2.812 kB / 0.5678 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.048e-05/0.3052, allocations: 0 / 0.5678 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.3053, allocations: 6.188 kB / 0.5678 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.186e-06/0.3053, allocations: 0.5625 kB / 0.5678 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.781e-05/0.3054, allocations: 6.953 kB / 0.5678 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.3054, allocations: 5.547 kB / 0.5678 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.3055, allocations: 1.031 kB / 0.5678 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.116e-05/0.3055, allocations: 4.969 kB / 0.5678 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.3055, allocations: 1.156 kB / 0.5678 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-06/0.3055, allocations: 1.156 kB / 0.5678 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.716e-06/0.3055, allocations: 2.109 kB / 0.5678 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.3056, allocations: 5.094 kB / 0.5678 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.336e-05/0.3056, allocations: 6.094 kB / 0.5678 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3056, allocations: 5.062 kB / 0.5678 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3056, allocations: 0 / 0.5678 GB, free: 32.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.3056, allocations: 0.5 kB / 0.5678 GB, free: 32.57 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.0001714/0.3058, allocations: 316.6 kB / 0.5681 GB, free: 32.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3058, allocations: 9.5 kB / 0.5681 GB, free: 32.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.963e-05/0.3059, allocations: 33.92 kB / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.623e-05/0.3059, allocations: 1.969 kB / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.744e-05/0.3059, allocations: 165.3 kB / 0.5683 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.3059, allocations: 2.25 kB / 0.5683 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.306, allocations: 1.594 kB / 0.5683 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.887e-05/0.306, allocations: 47.56 kB / 0.5684 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.306, allocations: 4.5 kB / 0.5684 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.306, allocations: 5.031 kB / 0.5684 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3061, allocations: 1.031 kB / 0.5684 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.785e-05/0.3061, allocations: 3.438 kB / 0.5684 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.864e-05/0.3062, allocations: 160.3 kB / 0.5686 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.3062, allocations: 37.86 kB / 0.5686 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.3062, allocations: 17.48 kB / 0.5686 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3063, allocations: 1.609 kB / 0.5686 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.3063, allocations: 33.33 kB / 0.5686 GB, free: 31.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3063, allocations: 2.812 kB / 0.5686 GB, free: 31.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001016/0.3064, allocations: 49.52 kB / 0.5687 GB, free: 31.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.3064, allocations: 79.12 kB / 0.5688 GB, free: 31.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.097e-05/0.3065, allocations: 91.53 kB / 0.5689 GB, free: 31.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.3065, allocations: 27.95 kB / 0.5689 GB, free: 31.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.877e-06/0.3065, allocations: 85.2 kB / 0.569 GB, free: 31.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.3065, allocations: 9.094 kB / 0.569 GB, free: 31.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.3065, allocations: 17.3 kB / 0.569 GB, free: 31.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.3066, allocations: 312.1 kB / 0.5693 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.3066, allocations: 1.594 kB / 0.5693 GB, free: 30.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.032e-05/0.3066, allocations: 18.59 kB / 0.5693 GB, free: 30.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.3066, allocations: 20.38 kB / 0.5693 GB, free: 30.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3066, allocations: 6.312 kB / 0.5693 GB, free: 30.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.939e-05/0.3067, allocations: 40.75 kB / 0.5694 GB, free: 30.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.3067, allocations: 8.469 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3067, allocations: 6.688 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3067, allocations: 1.219 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/0.3068, allocations: 4.391 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3068, allocations: 1.031 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.3068, allocations: 1.875 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.3068, allocations: 2.281 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 2 * 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.652e-05/0.3069, allocations: 112.4 kB / 0.5695 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.3069, allocations: 5.25 kB / 0.5695 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.417e-05/0.307, allocations: 51.2 kB / 0.5696 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.307, allocations: 5.359 kB / 0.5696 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.307, allocations: 2.281 kB / 0.5696 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.307, allocations: 0.5 kB / 0.5696 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.802e-05/0.307, allocations: 146.8 kB / 0.5697 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.307, allocations: 1.812 kB / 0.5697 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.3071, allocations: 4.234 kB / 0.5697 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3071, allocations: 5.219 kB / 0.5697 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.3071, allocations: 0.8438 kB / 0.5697 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3071, allocations: 1.719 kB / 0.5697 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3071, allocations: 5 kB / 0.5697 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.302e-05/0.3072, allocations: 71.98 kB / 0.5698 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.3072, allocations: 81.45 kB / 0.5699 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.3072, allocations: 4.906 kB / 0.5699 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.3072, allocations: 1.062 kB / 0.5699 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.3072, allocations: 2.453 kB / 0.5699 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.3072, allocations: 1.531 kB / 0.5699 GB, free: 30.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.401e-05/0.3073, allocations: 78.28 kB / 0.57 GB, free: 30.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3073, allocations: 1.062 kB / 0.57 GB, free: 30.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001663/0.3074, allocations: 1.281 kB / 0.57 GB, free: 30.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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): 2 * 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.0001799/0.3076, allocations: 0.6116 MB / 0.5706 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.672e-05/0.3077, allocations: 9.312 kB / 0.5706 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3077, allocations: 7.875 kB / 0.5706 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/0.3077, allocations: 4.891 kB / 0.5706 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.3078, allocations: 3.5 kB / 0.5706 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.3081, allocations: 118.8 kB / 0.5707 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.3081, allocations: 0.6724 MB / 0.5713 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.546e-05/0.3082, allocations: 2.906 kB / 0.5713 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.3082, allocations: 13.53 kB / 0.5714 GB, free: 28.75 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3082, allocations: 0 / 0.5714 GB, free: 28.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.404/0.7122, allocations: 0.8898 MB / 0.5722 GB, free: 28.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.81, allocations: 13.75 kB / 0.5722 GB, free: 28.43 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1)