Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",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.0009475/0.0009476, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.005782/0.005782, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.469/2.469, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 13.41 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2438, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.0007015/0.2445, allocations: 345.9 kB / 1.059 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001105/0.2446, allocations: 15.92 kB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.2447, allocations: 3.938 kB / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.41e-05/0.2448, allocations: 0 / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.7e-05/0.2448, allocations: 0 / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.582e-05/0.2449, allocations: 12 kB / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.2449, allocations: 19.92 kB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2451, allocations: 31.98 kB / 1.059 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.2451, allocations: 11.92 kB / 1.059 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.543e-05/0.2451, allocations: 7.938 kB / 1.059 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.2451, allocations: 0 / 1.059 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.2452, allocations: 0 / 1.059 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.2452, allocations: 15.92 kB / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.2452, allocations: 41.58 kB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.981e-05/0.2453, allocations: 39.8 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2453, allocations: 0 / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2453, allocations: 0 / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2453, allocations: 4 kB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002833/0.2456, allocations: 337.1 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2457, allocations: 15.97 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.2457, allocations: 38.73 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.2457, allocations: 4.938 kB / 1.06 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2459, allocations: 188.2 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.2459, allocations: 384 / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.2459, allocations: 4.375 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.2461, allocations: 78.17 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2461, allocations: 7.938 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.2461, allocations: 7.984 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2461, allocations: 0 / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.752e-05/0.2462, allocations: 47.97 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.2466, allocations: 475.1 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/0.2467, allocations: 177.1 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.2467, allocations: 84.14 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2467, allocations: 79.22 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.2468, allocations: 109.8 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.2468, allocations: 3.984 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.581e-05/0.2469, allocations: 33.61 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.2469, allocations: 130.6 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2471, allocations: 171.7 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.2471, allocations: 25.7 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.2471, allocations: 96.12 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2472, allocations: 0 / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.2472, allocations: 13.72 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.2473, allocations: 314.8 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.2473, allocations: 7.984 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.2473, allocations: 7.938 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.2473, allocations: 24.91 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2474, allocations: 0 / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00011/0.2475, allocations: 49.59 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2475, allocations: 4 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2475, allocations: 0 / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.2475, allocations: 4 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.058e-05/0.2476, allocations: 8.031 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.2476, allocations: 3.938 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.2476, allocations: 11.88 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2476, allocations: 8.031 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMax.y) * 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 9.079e-05/0.2477, allocations: 197 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.2478, allocations: 108.9 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.2478, allocations: 108.9 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/0.2479, allocations: 184.1 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.886e-05/0.2479, allocations: 188.2 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.345e-05/0.248, allocations: 180.3 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.2482, allocations: 421.1 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/0.2482, allocations: 105 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.2483, allocations: 104.9 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.126e-05/0.2483, allocations: 176.3 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.2484, allocations: 192.2 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.241e-05/0.2485, allocations: 180.2 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.191e-05/0.2485, allocations: 176.3 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.2486, allocations: 319.9 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.2487, allocations: 194.1 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.2488, allocations: 180.3 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.2489, allocations: 108.9 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.2489, allocations: 184.2 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.249, allocations: 101 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.659e-05/0.2491, allocations: 131.2 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2491, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002011/0.2493, allocations: 8 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB 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 (0): * Single equations (assignments): 0 * 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.0003406/0.2496, allocations: 0.8086 MB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.616e-05/0.2497, allocations: 11.98 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2497, allocations: 64 / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.2497, allocations: 4 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.2501, allocations: 0.5248 MB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.2511, allocations: 1.492 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.2514, allocations: 0.6809 MB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.2514, allocations: 15.89 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.2515, allocations: 15.44 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.2515, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.95/1.201, allocations: 1.361 MB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003038/1.202, allocations: 229.2 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.531, allocations: 2.109 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1)