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.002702/0.002702, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.002184/0.002184, allocations: 195.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.583/2.583, allocations: 222.9 MB / 241 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 1.329/1.329, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00303/0.00303, allocations: 64.55 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3019, allocations: 76.19 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.002469/0.3045, allocations: 0.5608 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 6.204e-05/0.3046, allocations: 8 kB / 0.6321 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.3046, allocations: 0 / 0.6321 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.3046, allocations: 4 kB / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.297e-05/0.3047, allocations: 0 / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.148e-05/0.3048, allocations: 0 / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.139e-05/0.3049, allocations: 0 / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.305, allocations: 7.984 kB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.305, allocations: 0 / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.701e-05/0.3051, allocations: 0 / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3051, allocations: 0 / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.3051, allocations: 0 / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.3051, allocations: 11.86 kB / 0.6321 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.3052, allocations: 4 kB / 0.6321 GB, free: 4.348 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.412e-05/0.3053, allocations: 4 kB / 0.6321 GB, free: 4.344 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3053, allocations: 0 / 0.6321 GB, free: 4.344 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3053, allocations: 4 kB / 0.6322 GB, free: 4.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.3053, allocations: 3.938 kB / 0.6322 GB, free: 4.336 MB / 478.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.0004853/0.3058, allocations: 303.6 kB / 0.6324 GB, free: 3.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.181e-05/0.3059, allocations: 16.05 kB / 0.6325 GB, free: 3.973 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.3059, allocations: 30.75 kB / 0.6325 GB, free: 3.934 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.306, allocations: 4.922 kB / 0.6325 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.3061, allocations: 160.4 kB / 0.6326 GB, free: 3.734 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3062, allocations: 4.375 kB / 0.6327 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3062, allocations: 384 / 0.6327 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3063, allocations: 34.27 kB / 0.6327 GB, free: 3.691 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3064, allocations: 3.938 kB / 0.6327 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3064, allocations: 0 / 0.6327 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.3064, allocations: 0 / 0.6327 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.3064, allocations: 3.938 kB / 0.6327 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.3067, allocations: 149.7 kB / 0.6328 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.802e-05/0.3068, allocations: 18.58 kB / 0.6329 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.962e-05/0.3068, allocations: 12.95 kB / 0.6329 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3068, allocations: 0 / 0.6329 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.3069, allocations: 30.56 kB / 0.6329 GB, free: 3.406 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.934e-06/0.3069, allocations: 0 / 0.6329 GB, free: 3.406 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002252/0.3071, allocations: 37.58 kB / 0.6329 GB, free: 3.363 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.3072, allocations: 51.41 kB / 0.633 GB, free: 3.301 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.3073, allocations: 97.97 kB / 0.6331 GB, free: 3.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.3073, allocations: 29.7 kB / 0.6331 GB, free: 3.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.3074, allocations: 84.08 kB / 0.6332 GB, free: 3.074 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.3074, allocations: 3.906 kB / 0.6332 GB, free: 3.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.3075, allocations: 14.06 kB / 0.6332 GB, free: 3.051 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3076, allocations: 310.8 kB / 0.6335 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.3077, allocations: 4 kB / 0.6335 GB, free: 2.734 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.3077, allocations: 0 / 0.6335 GB, free: 2.734 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.3077, allocations: 12.92 kB / 0.6335 GB, free: 2.719 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3077, allocations: 0 / 0.6335 GB, free: 2.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.05e-05/0.3078, allocations: 37.64 kB / 0.6335 GB, free: 2.676 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3078, allocations: 7.984 kB / 0.6336 GB, free: 2.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3079, allocations: 3.938 kB / 0.6336 GB, free: 2.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.3079, allocations: 4 kB / 0.6336 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.308, allocations: 0 / 0.6336 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.308, allocations: 0 / 0.6336 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.308, allocations: 0 / 0.6336 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.308, allocations: 4.031 kB / 0.6336 GB, free: 2.656 MB / 478.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 0.0001249/0.3082, allocations: 109.8 kB / 0.6337 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.3082, allocations: 0 / 0.6337 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.3082, allocations: 7.062 kB / 0.6337 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3082, allocations: 3.938 kB / 0.6337 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3082, allocations: 0 / 0.6337 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3082, allocations: 0 / 0.6337 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.3084, allocations: 148.5 kB / 0.6338 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3084, allocations: 4 kB / 0.6338 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.3084, allocations: 4 kB / 0.6338 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3084, allocations: 4 kB / 0.6338 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3084, allocations: 3.938 kB / 0.6338 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3085, allocations: 0 / 0.6338 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3085, allocations: 0 / 0.6338 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.039e-05/0.3086, allocations: 65.06 kB / 0.6339 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.3086, allocations: 77.11 kB / 0.634 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3086, allocations: 3.938 kB / 0.634 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/0.3086, allocations: 8.031 kB / 0.634 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.3087, allocations: 0 / 0.634 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.3087, allocations: 4 kB / 0.634 GB, free: 2.129 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.914e-05/0.3087, allocations: 79.28 kB / 0.6341 GB, free: 2.051 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3087, allocations: 3.938 kB / 0.6341 GB, free: 2.047 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.309, allocations: 0 / 0.6341 GB, free: 2.047 MB / 478.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.0004198/0.3094, allocations: 0.5968 MB / 0.6347 GB, free: 1.418 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 9.462e-05/0.3095, allocations: 4 kB / 0.6347 GB, free: 1.414 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3095, allocations: 0 / 0.6347 GB, free: 1.414 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/0.3095, allocations: 0 / 0.6347 GB, free: 1.414 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.3097, allocations: 4 kB / 0.6347 GB, free: 1.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.31, allocations: 106.7 kB / 0.6348 GB, free: 1.266 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3104, allocations: 0.673 MB / 0.6354 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.682e-05/0.3104, allocations: 4 kB / 0.6354 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.3104, allocations: 7.438 kB / 0.6354 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of SimCode: time 2.244e-06/0.3105, allocations: 0 / 0.6354 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04604/0.3565, allocations: 0.8786 MB / 0.6363 GB, free: 15.74 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.17, allocations: 6.438 kB / 0.6363 GB, free: 15.73 MB / 494.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)