Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 172.4 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000821/0.0008211, allocations: 93.11 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004088, allocations: 12.94 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2471, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001726/0.2489, allocations: 1.202 MB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000422/0.2493, allocations: 180.3 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.2494, allocations: 4 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.2494, allocations: 3.938 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.2495, allocations: 3.938 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.2497, allocations: 39.95 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.073e-05/0.2498, allocations: 79.83 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2499, allocations: 31.91 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.25, allocations: 31.84 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.321e-05/0.2501, allocations: 39.83 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.2502, allocations: 4 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.2502, allocations: 4 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.2502, allocations: 15.92 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.2503, allocations: 57.5 kB / 0.9026 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.2504, allocations: 79.7 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2504, allocations: 3.938 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2504, allocations: 0 / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2504, allocations: 0 / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005884/0.251, allocations: 391.5 kB / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.251, allocations: 8.031 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.2511, allocations: 42.73 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.2511, allocations: 12.84 kB / 0.9031 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2513, allocations: 176.2 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2513, allocations: 4.375 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.2513, allocations: 8.375 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.2517, allocations: 123.8 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2517, allocations: 3.938 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2517, allocations: 0 / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.2517, allocations: 0 / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.2521, allocations: 123.8 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.2526, allocations: 344.6 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.2533, allocations: 134.5 kB / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.2535, allocations: 64.81 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.2535, allocations: 11.98 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.2535, allocations: 30.56 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.2535, allocations: 4 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006398/0.2542, allocations: 209.5 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.2542, allocations: 51.41 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.295e-05/0.2543, allocations: 129.6 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2543, allocations: 25.7 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.2544, allocations: 100.1 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.2544, allocations: 23.59 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.2544, allocations: 0 / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.2545, allocations: 322.8 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.2546, allocations: 55.95 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2548, allocations: 55.95 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.2551, allocations: 124.8 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2552, allocations: 0 / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003877/0.2555, allocations: 158 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2556, allocations: 4 kB / 0.9053 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2556, allocations: 4 kB / 0.9053 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2556, allocations: 4 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.2558, allocations: 31.91 kB / 0.9053 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.2558, allocations: 0 / 0.9053 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.2559, allocations: 19.97 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.256, allocations: 8.078 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.617e-05/0.256, allocations: 121.8 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.2561, allocations: 7.844 kB / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.2565, allocations: 177.9 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2565, allocations: 0 / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2566, allocations: 0 / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2566, allocations: 3.938 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.2567, allocations: 201.5 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2567, allocations: 3.984 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.2569, allocations: 31.97 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.2569, allocations: 0 / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.257, allocations: 4 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.257, allocations: 0 / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.257, allocations: 0 / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.2574, allocations: 263.2 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.2574, allocations: 81.05 kB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2574, allocations: 0 / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.2576, allocations: 27.97 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.2577, allocations: 19.98 kB / 0.9062 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.2577, allocations: 11.92 kB / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.2577, allocations: 91.27 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2577, allocations: 0 / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002217/0.258, allocations: 23.84 kB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006089/0.2586, allocations: 0.7866 MB / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.259, allocations: 127.8 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.259, allocations: 0 / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.2592, allocations: 75.94 kB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.2595, allocations: 8 kB / 0.9073 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.2612, allocations: 1.61 MB / 0.9089 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.2614, allocations: 0.6887 MB / 0.9096 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.491e-05/0.2614, allocations: 23.67 kB / 0.9096 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.2615, allocations: 23.42 kB / 0.9096 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of SimCode: time 1.433e-06/0.2615, allocations: 0 / 0.9096 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/0.2732, allocations: 2.279 MB / 0.9118 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/0.2734, allocations: 209.1 kB / 0.912 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/1.965, allocations: 4.062 kB / 0.912 GB, free: 51.58 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)