Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.001711/0.001711, allocations: 108 kB / 15.6 MB, free: 132 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.001402/0.001401, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.918/1.918, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.735/1.735, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.002481/0.002481, allocations: 69.55 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.276, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002361/0.2784, allocations: 0.7206 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.2802, allocations: 1.262 MB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.2803, allocations: 0 / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.2804, allocations: 3.938 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.2805, allocations: 15.86 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008868/0.2813, allocations: 312.6 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.2817, allocations: 275.6 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.2818, allocations: 24.11 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.282, allocations: 91.88 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.2822, allocations: 83.75 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.2822, allocations: 20 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.2823, allocations: 31.98 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.2824, allocations: 16 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2825, allocations: 83.73 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.2828, allocations: 227.6 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2828, allocations: 0 / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2828, allocations: 3.938 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2828, allocations: 4 kB / 0.7866 GB, free: 10.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005993/0.2834, allocations: 492.3 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.2835, allocations: 12.03 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.445e-05/0.2835, allocations: 34.75 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.2836, allocations: 16.84 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2837, allocations: 172.2 kB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2838, allocations: 8.359 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.2838, allocations: 20.38 kB / 0.7873 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.2839, allocations: 53.98 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2839, allocations: 4 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.284, allocations: 4 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.284, allocations: 7.938 kB / 0.7874 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.284, allocations: 15.98 kB / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.2846, allocations: 420.5 kB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.2847, allocations: 26.58 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.2847, allocations: 32.88 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.2847, allocations: 0 / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.2849, allocations: 95.34 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.2849, allocations: 0 / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002974/0.2852, allocations: 137.5 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2853, allocations: 51.41 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2854, allocations: 137.7 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.2855, allocations: 33.7 kB / 0.7883 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.2856, allocations: 93.2 kB / 0.7884 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.2856, allocations: 31.7 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2857, allocations: 69.61 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2858, allocations: 326.8 kB / 0.7888 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.286, allocations: 88.27 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.2862, allocations: 138 kB / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.2865, allocations: 233.7 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2865, allocations: 0 / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005502/0.2871, allocations: 382.3 kB / 0.7896 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-05/0.2871, allocations: 101.1 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2871, allocations: 0 / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2872, allocations: 4 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.458e-05/0.2872, allocations: 3.984 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.2872, allocations: 8.188 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.2877, allocations: 79.81 kB / 0.7898 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.2878, allocations: 15.98 kB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001484/0.2879, allocations: 145.6 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.288, allocations: 7.906 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.288, allocations: 12.38 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.288, allocations: 0 / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.288, allocations: 0 / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.288, allocations: 3.984 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.2882, allocations: 193.5 kB / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2882, allocations: 4 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.148e-05/0.2883, allocations: 4 kB / 0.7901 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2883, allocations: 0 / 0.7901 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2883, allocations: 0 / 0.7901 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2883, allocations: 8 kB / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.2883, allocations: 3.938 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.2885, allocations: 136.9 kB / 0.7903 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.2886, allocations: 85.02 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.2886, allocations: 0 / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.2886, allocations: 7.922 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.2887, allocations: 12 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2887, allocations: 3.984 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.2888, allocations: 105.5 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2888, allocations: 96 / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002816/0.2891, allocations: 43.94 kB / 0.7905 GB, free: 5.734 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006332/0.2897, allocations: 0.6786 MB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005373/0.2903, allocations: 374 kB / 0.7915 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2903, allocations: 0 / 0.7915 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.086e-05/0.2904, allocations: 31.98 kB / 0.7916 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2907, allocations: 26.62 kB / 0.7916 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.2936, allocations: 2.051 MB / 0.7936 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.294, allocations: 0.7001 MB / 0.7943 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.011e-05/0.2941, allocations: 8.438 kB / 0.7943 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.2941, allocations: 27.7 kB / 0.7943 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of SimCode: time 1.001e-06/0.2941, allocations: 0 / 0.7943 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.3183, allocations: 3.789 MB / 0.798 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.926, allocations: 1.172 kB / 0.798 GB, free: 13.93 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)