Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 288.4 MB / 303.3 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009462/0.0009463, allocations: 186.9 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 0.6307 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007864/0.0007863, allocations: 104.2 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004223, allocations: 16.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2763, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001032/0.2774, allocations: 0.5413 MB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.2789, allocations: 1.458 MB / 0.9816 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.279, allocations: 4 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.2791, allocations: 11.86 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.2792, allocations: 27.77 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.2802, allocations: 478.8 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.2805, allocations: 371.3 kB / 0.9825 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.2807, allocations: 33.48 kB / 0.9825 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.2808, allocations: 155.7 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.281, allocations: 123.6 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.168e-05/0.2811, allocations: 24 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2812, allocations: 39.92 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.2813, allocations: 31.89 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.2814, allocations: 73.64 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.2816, allocations: 287.5 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2816, allocations: 0 / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.245e-06/0.2816, allocations: 0 / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.2817, allocations: 0 / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006101/0.2823, allocations: 0.5657 MB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2823, allocations: 12.02 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.2824, allocations: 58.47 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.2825, allocations: 31.72 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2828, allocations: 254.8 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2828, allocations: 23.98 kB / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.2829, allocations: 28 kB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.2831, allocations: 152.6 kB / 0.9843 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.2832, allocations: 0 / 0.9843 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.2832, allocations: 8 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2832, allocations: 0 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.2833, allocations: 79.95 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.2841, allocations: 0.7263 MB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.2842, allocations: 175.6 kB / 0.9852 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.2843, allocations: 40.84 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.2843, allocations: 0 / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.2846, allocations: 160.2 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.2846, allocations: 3.938 kB / 0.9854 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0003904/0.285, allocations: 239.6 kB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.285, allocations: 63.41 kB / 0.9857 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2852, allocations: 178.7 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.2852, allocations: 41.7 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.2853, allocations: 128.4 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.2854, allocations: 35.55 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.2854, allocations: 12 kB / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.2855, allocations: 326.8 kB / 0.9864 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.2858, allocations: 155.9 kB / 0.9866 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.2861, allocations: 247 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2864, allocations: 292.6 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2864, allocations: 4 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007732/0.2871, allocations: 0.6226 MB / 0.9877 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.2872, allocations: 160.5 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2872, allocations: 4 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2873, allocations: 4 kB / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.404e-05/0.2873, allocations: 11.98 kB / 0.9879 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2873, allocations: 11.92 kB / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008322/0.2882, allocations: 198.1 kB / 0.9881 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.2882, allocations: 35.94 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.2884, allocations: 157.5 kB / 0.9882 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.2884, allocations: 19.86 kB / 0.9883 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.2885, allocations: 21.88 kB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2885, allocations: 4 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2885, allocations: 0 / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2885, allocations: 4 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.2889, allocations: 0.5022 MB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2889, allocations: 3.938 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.289, allocations: 7.938 kB / 0.9888 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.289, allocations: 4 kB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.289, allocations: 7.984 kB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.289, allocations: 0 / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.289, allocations: 4 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.2892, allocations: 280.2 kB / 0.9891 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.2893, allocations: 92.86 kB / 0.9892 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2893, allocations: 7.984 kB / 0.9892 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.118e-05/0.2894, allocations: 7.938 kB / 0.9892 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.2894, allocations: 19.97 kB / 0.9892 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.2894, allocations: 8 kB / 0.9892 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.2895, allocations: 116.2 kB / 0.9893 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2895, allocations: 0 / 0.9893 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003263/0.2899, allocations: 91.92 kB / 0.9894 GB, free: 17.03 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005073/0.2904, allocations: 0.8244 MB / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006031/0.291, allocations: 0.6104 MB / 0.9908 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.291, allocations: 0 / 0.9908 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.2911, allocations: 83.86 kB / 0.9909 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.2915, allocations: 37.69 kB / 0.9909 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.2935, allocations: 1.491 MB / 0.9924 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.2937, allocations: 0.7281 MB / 0.9931 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.735e-05/0.2938, allocations: 25.53 kB / 0.9931 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.2938, allocations: 55.42 kB / 0.9932 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.2939, allocations: 3.938 kB / 0.9932 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.3116, allocations: 5.877 MB / 0.9989 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.3118, allocations: 201.1 kB / 0.9991 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.067, allocations: 64 / 0.9991 GB, free: 7.055 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)