Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.79/2.79, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.001995/0.001994, allocations: 186.1 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.327/2.327, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009717/0.0009709, allocations: 93.36 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 12.72 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2681, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00109/0.2692, allocations: 0.5372 MB / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.2714, allocations: 1.454 MB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.2715, allocations: 4 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.2717, allocations: 15.86 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.2718, allocations: 31.77 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.2737, allocations: 479.9 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.2743, allocations: 371.3 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2745, allocations: 37.47 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.2747, allocations: 155.7 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.2749, allocations: 131.6 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.275, allocations: 20 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.2752, allocations: 35.98 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.2753, allocations: 23.92 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2754, allocations: 69.64 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.2758, allocations: 287.5 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.2758, allocations: 3.938 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2758, allocations: 0 / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.2759, allocations: 4 kB / 0.982 GB, free: 24.63 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.0007341/0.2766, allocations: 0.5696 MB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2767, allocations: 16.02 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.2767, allocations: 50.48 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.2769, allocations: 31.72 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.2772, allocations: 250.9 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.2773, allocations: 16 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.2774, allocations: 31.98 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.2777, allocations: 152.6 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2778, allocations: 0 / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2778, allocations: 15.92 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2778, allocations: 3.984 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.278, allocations: 75.95 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.2791, allocations: 0.7302 MB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.2794, allocations: 167.7 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2795, allocations: 48.77 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2795, allocations: 0 / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.2799, allocations: 159.3 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.2799, allocations: 0 / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0007179/0.2806, allocations: 239.6 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.2807, allocations: 59.36 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.2809, allocations: 182.8 kB / 0.9847 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/0.2809, allocations: 41.7 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2811, allocations: 124.4 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.2811, allocations: 43.53 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.2812, allocations: 12 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.977e-05/0.2813, allocations: 326.8 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/0.2818, allocations: 159.8 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/0.2824, allocations: 246 kB / 0.9856 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.2829, allocations: 292.3 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2829, allocations: 4 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001457/0.2844, allocations: 0.6069 MB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.2845, allocations: 168.5 kB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2845, allocations: 4.344 kB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.2845, allocations: 8 kB / 0.9867 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.947e-05/0.2846, allocations: 4 kB / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2846, allocations: 7.938 kB / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.2862, allocations: 201.6 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.2863, allocations: 31.97 kB / 0.9869 GB, free: 19.2 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.0002588/0.2866, allocations: 161.7 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.2866, allocations: 15.81 kB / 0.9871 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/0.2867, allocations: 21.86 kB / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2867, allocations: 4 kB / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.2867, allocations: 0 / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2868, allocations: 0 / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/0.2876, allocations: 0.5078 MB / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2876, allocations: 11.94 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.2876, allocations: 3.984 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.038e-06/0.2876, allocations: 8.031 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.2877, allocations: 7.938 kB / 0.9876 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.2877, allocations: 4 kB / 0.9876 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2877, allocations: 3.953 kB / 0.9876 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.2881, allocations: 271.2 kB / 0.9879 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.2881, allocations: 96.8 kB / 0.988 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.2882, allocations: 12 kB / 0.988 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.2884, allocations: 7.984 kB / 0.988 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.2885, allocations: 19.97 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.2885, allocations: 8 kB / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.966e-05/0.2886, allocations: 120.2 kB / 0.9881 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2886, allocations: 4 kB / 0.9881 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005652/0.2892, allocations: 72 kB / 0.9882 GB, free: 17.76 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.0007139/0.2899, allocations: 0.8252 MB / 0.989 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.291, allocations: 0.614 MB / 0.9896 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.291, allocations: 0 / 0.9896 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.2912, allocations: 80.59 kB / 0.9897 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006555/0.2919, allocations: 43.95 kB / 0.9897 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.2953, allocations: 1.481 MB / 0.9912 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.2955, allocations: 0.7242 MB / 0.9919 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.2957, allocations: 21.55 kB / 0.9919 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2958, allocations: 63.34 kB / 0.992 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of SimCode: time 1.473e-06/0.2958, allocations: 0 / 0.992 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.3318, allocations: 5.873 MB / 0.9977 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/0.3321, allocations: 201 kB / 0.9979 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.03, allocations: 0 / 0.9979 GB, free: 7.789 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)