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.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",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.715/1.715, allocations: 288.4 MB / 303.3 MB, free: 8.133 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.0009895/0.0009896, allocations: 194 kB / 372 MB, free: 10.23 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.659/1.659, allocations: 205.4 MB / 0.6307 GB, free: 9.945 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.0009833/0.0009838, allocations: 94.34 kB / 0.7441 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004591, allocations: 16.78 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.271, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0009338/0.272, allocations: 426.7 kB / 0.9801 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2733, allocations: 1.247 MB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.2734, allocations: 8 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.2734, allocations: 0 / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.2735, allocations: 11.86 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007572/0.2743, allocations: 276.6 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.2744, allocations: 199.6 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.2745, allocations: 16.17 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.466e-05/0.2746, allocations: 87.86 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.938e-05/0.2748, allocations: 71.77 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.2748, allocations: 12 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.2749, allocations: 27.98 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.2749, allocations: 11.94 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.275, allocations: 45.7 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.2751, allocations: 143.9 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.2751, allocations: 4 kB / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2751, allocations: 4 kB / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2752, allocations: 0 / 0.9822 GB, free: 24.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004946/0.2757, allocations: 460.2 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.2757, allocations: 12.02 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.2758, allocations: 38.48 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.2758, allocations: 15.91 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2759, allocations: 171 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.276, allocations: 12 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.276, allocations: 15.98 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2761, allocations: 57.67 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2762, allocations: 7.875 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2762, allocations: 4 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2762, allocations: 0 / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.2763, allocations: 27.91 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.2767, allocations: 416.5 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.2768, allocations: 34.56 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.2769, allocations: 16.86 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.2769, allocations: 4 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.277, allocations: 107.3 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.277, allocations: 0 / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002641/0.2773, allocations: 141.5 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.2774, allocations: 55.47 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.2774, allocations: 137.8 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.2775, allocations: 41.69 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.2775, allocations: 92.05 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.2776, allocations: 19.75 kB / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.2776, allocations: 4 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.2777, allocations: 322.8 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.2778, allocations: 91.94 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.278, allocations: 134.9 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.2782, allocations: 169.1 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2782, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004816/0.2787, allocations: 380.1 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.2787, allocations: 97.09 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2787, allocations: 4 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2787, allocations: 0 / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.45e-05/0.2788, allocations: 15.92 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.2788, allocations: 7.953 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.2793, allocations: 118.3 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.2794, allocations: 15.98 kB / 0.9853 GB, free: 21.44 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.2795, allocations: 137.8 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.2795, allocations: 7.906 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.2795, allocations: 12.31 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2795, allocations: 4 kB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.2796, allocations: 0 / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2796, allocations: 7.953 kB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.2797, allocations: 193.5 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2797, allocations: 0 / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.2797, allocations: 4 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2797, allocations: 0 / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.2797, allocations: 4 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2797, allocations: 0 / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2797, allocations: 3.984 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.2799, allocations: 140.9 kB / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.2799, allocations: 85.02 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.28, allocations: 3.984 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.28, allocations: 4 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.28, allocations: 7.984 kB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.28, allocations: 4 kB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.2801, allocations: 99.27 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2801, allocations: 0 / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002257/0.2803, allocations: 48 kB / 0.986 GB, free: 20.59 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.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 (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.0003951/0.2807, allocations: 0.6842 MB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.2811, allocations: 358.2 kB / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2811, allocations: 0 / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.953e-05/0.2812, allocations: 48.23 kB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.2815, allocations: 27.19 kB / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.2827, allocations: 0.9068 MB / 0.988 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.2829, allocations: 0.6965 MB / 0.9886 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.2829, allocations: 8.375 kB / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.283, allocations: 27.48 kB / 0.9887 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.283, allocations: 0 / 0.9887 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.2983, allocations: 3.472 MB / 0.9921 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.2985, allocations: 206.9 kB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/1.983, allocations: 0 / 0.9923 GB, free: 14.18 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)