Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 185.6 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001695, allocations: 75.88 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2743, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002521/0.2769, allocations: 0.8445 MB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.2792, allocations: 1.468 MB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.2793, allocations: 4 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.2795, allocations: 19.8 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.2796, allocations: 31.7 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.281, allocations: 0.5246 MB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006526/0.2817, allocations: 0.4953 MB / 0.787 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.2819, allocations: 41.47 kB / 0.787 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.2821, allocations: 183.7 kB / 0.7872 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.2824, allocations: 171.5 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.652e-05/0.2825, allocations: 40 kB / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.2827, allocations: 55.97 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-05/0.2828, allocations: 43.91 kB / 0.7875 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.283, allocations: 155.5 kB / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.2836, allocations: 423 kB / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2836, allocations: 0 / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2836, allocations: 0 / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.2836, allocations: 4 kB / 0.788 GB, free: 8.742 MB / 0.6075 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.0009847/0.2846, allocations: 0.6438 MB / 0.7887 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.2847, allocations: 8.031 kB / 0.7887 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.845e-05/0.2847, allocations: 46.73 kB / 0.7887 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.2848, allocations: 28.75 kB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.2852, allocations: 275.9 kB / 0.789 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2852, allocations: 20.31 kB / 0.789 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.2853, allocations: 32.38 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.2856, allocations: 159.8 kB / 0.7892 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2856, allocations: 3.938 kB / 0.7892 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.2856, allocations: 7.984 kB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.2857, allocations: 4 kB / 0.7892 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.2858, allocations: 79.89 kB / 0.7893 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.2867, allocations: 0.7109 MB / 0.79 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.287, allocations: 171.6 kB / 0.7901 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.2871, allocations: 44.83 kB / 0.7902 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.2871, allocations: 0 / 0.7902 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003565/0.2874, allocations: 147.2 kB / 0.7903 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.2875, allocations: 4 kB / 0.7903 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0005007/0.288, allocations: 252.2 kB / 0.7906 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.288, allocations: 51.41 kB / 0.7906 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2882, allocations: 186.2 kB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.2883, allocations: 41.7 kB / 0.7908 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2884, allocations: 120.5 kB / 0.791 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.2884, allocations: 47.44 kB / 0.791 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.2886, allocations: 113.6 kB / 0.7911 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2887, allocations: 330.8 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.2891, allocations: 159.8 kB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.2894, allocations: 238.1 kB / 0.7918 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.2898, allocations: 404.8 kB / 0.7922 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2899, allocations: 4 kB / 0.7922 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009067/0.2908, allocations: 0.6151 MB / 0.7928 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.776e-05/0.2909, allocations: 168.4 kB / 0.793 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2909, allocations: 0 / 0.793 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2909, allocations: 4 kB / 0.793 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.387e-05/0.291, allocations: 16.02 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.291, allocations: 7.938 kB / 0.793 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.2917, allocations: 147.5 kB / 0.7931 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.2918, allocations: 31.91 kB / 0.7932 GB, free: 3.031 MB / 0.6075 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,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.2919, allocations: 161.5 kB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.292, allocations: 19.75 kB / 0.7933 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.292, allocations: 21.88 kB / 0.7933 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.292, allocations: 3.938 kB / 0.7934 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2921, allocations: 0 / 0.7934 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2921, allocations: 3.984 kB / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.2926, allocations: 0.4984 MB / 0.7938 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2926, allocations: 0 / 0.7938 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.2927, allocations: 7.938 kB / 0.7938 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2927, allocations: 64 / 0.7938 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.2927, allocations: 15.98 kB / 0.7939 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2927, allocations: 4 kB / 0.7939 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2927, allocations: 0 / 0.7939 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.293, allocations: 277.6 kB / 0.7941 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.2931, allocations: 100.8 kB / 0.7942 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.2931, allocations: 4 kB / 0.7942 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.2932, allocations: 4 kB / 0.7942 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.2933, allocations: 23.97 kB / 0.7943 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.2933, allocations: 4 kB / 0.7943 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.893e-05/0.2934, allocations: 128.2 kB / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2934, allocations: 0 / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003477/0.2937, allocations: 83.89 kB / 0.7945 GB, free: 1.586 MB / 0.6075 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 (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.0006749/0.2944, allocations: 0.8305 MB / 0.7953 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007179/0.2951, allocations: 0.6207 MB / 0.7959 GB, free: 52 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2952, allocations: 0 / 0.7959 GB, free: 52 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.2953, allocations: 75.91 kB / 0.796 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.2957, allocations: 52.58 kB / 0.796 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.2995, allocations: 2.998 MB / 0.7989 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.2998, allocations: 0.7281 MB / 0.7996 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.653e-05/0.2999, allocations: 25.53 kB / 0.7997 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.2999, allocations: 55.41 kB / 0.7997 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of SimCode: time 7.81e-07/0.3, allocations: 4 kB / 0.7997 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.3247, allocations: 6.322 MB / 0.8059 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/7.728, allocations: 10.08 kB / 0.8059 GB, free: 5.719 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)