Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007633/0.0007633, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005682/0.005682, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.274/1.274, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.653/1.653, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005093/0.0005093, allocations: 18.33 kB / 0.6744 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0008062/0.2109, allocations: 450.3 kB / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2124, allocations: 1.29 MB / 0.7897 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.2124, allocations: 0 / 0.7897 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.2124, allocations: 0 / 0.7897 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.2125, allocations: 15.84 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.2132, allocations: 294 kB / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.2134, allocations: 223.7 kB / 0.7902 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.2135, allocations: 16.17 kB / 0.7902 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2136, allocations: 87.73 kB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.2137, allocations: 71.77 kB / 0.7904 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.2137, allocations: 12 kB / 0.7904 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.301e-05/0.2138, allocations: 27.98 kB / 0.7904 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.2139, allocations: 12 kB / 0.7904 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.214, allocations: 101.4 kB / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.2142, allocations: 207.7 kB / 0.7907 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2142, allocations: 0 / 0.7907 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2142, allocations: 0 / 0.7907 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2142, allocations: 4 kB / 0.7907 GB, free: 8.672 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.0004375/0.2147, allocations: 456.4 kB / 0.7912 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2147, allocations: 12.03 kB / 0.7912 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.2147, allocations: 34.73 kB / 0.7912 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.2148, allocations: 20.84 kB / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2149, allocations: 182.7 kB / 0.7914 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.2149, allocations: 12.38 kB / 0.7914 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.215, allocations: 24.3 kB / 0.7914 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.2151, allocations: 57.98 kB / 0.7915 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.2151, allocations: 0 / 0.7915 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2151, allocations: 0 / 0.7915 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2151, allocations: 4 kB / 0.7915 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.2152, allocations: 19.98 kB / 0.7915 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.2157, allocations: 412.5 kB / 0.7919 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.623e-05/0.2158, allocations: 34.56 kB / 0.7919 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.2158, allocations: 16.86 kB / 0.792 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.2158, allocations: 0 / 0.792 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.216, allocations: 111.3 kB / 0.7921 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.216, allocations: 0 / 0.7921 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002751/0.2163, allocations: 141.5 kB / 0.7922 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.2163, allocations: 51.41 kB / 0.7922 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2164, allocations: 129.8 kB / 0.7924 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.2165, allocations: 37.69 kB / 0.7924 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.2165, allocations: 96.05 kB / 0.7925 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.2166, allocations: 19.75 kB / 0.7925 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.2166, allocations: 29.7 kB / 0.7925 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2167, allocations: 330.8 kB / 0.7929 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2169, allocations: 87.89 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.2171, allocations: 136.9 kB / 0.7931 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.2174, allocations: 246.3 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2174, allocations: 0 / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005444/0.218, allocations: 374.4 kB / 0.7937 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/0.218, allocations: 105.3 kB / 0.7938 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.218, allocations: 0 / 0.7938 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2181, allocations: 4 kB / 0.7938 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.105e-05/0.2181, allocations: 8.312 kB / 0.7938 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2181, allocations: 0 / 0.7938 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.2186, allocations: 111.9 kB / 0.7939 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.2187, allocations: 23.98 kB / 0.7939 GB, free: 5.07 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,logicalSwitch.y,booPul3.y,$PRE.booPul3.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.0001111/0.2188, allocations: 141.6 kB / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.2188, allocations: 7.906 kB / 0.794 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.2189, allocations: 8.375 kB / 0.7941 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2189, allocations: 0 / 0.7941 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2189, allocations: 0 / 0.7941 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.2189, allocations: 7.984 kB / 0.7941 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.219, allocations: 189.6 kB / 0.7942 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.219, allocations: 0 / 0.7942 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-06/0.219, allocations: 4 kB / 0.7942 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2191, allocations: 0 / 0.7942 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2191, allocations: 11.98 kB / 0.7943 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2191, allocations: 80 / 0.7943 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2191, allocations: 3.984 kB / 0.7943 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.2192, allocations: 140.9 kB / 0.7944 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.2193, allocations: 85 kB / 0.7945 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.2193, allocations: 8 kB / 0.7945 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.248e-05/0.2194, allocations: 8 kB / 0.7945 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.2194, allocations: 7.984 kB / 0.7945 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2194, allocations: 8 kB / 0.7945 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.043e-05/0.2195, allocations: 98.5 kB / 0.7946 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2195, allocations: 0 / 0.7946 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00025/0.2197, allocations: 47.91 kB / 0.7946 GB, free: 4.215 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,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 (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.000454/0.2202, allocations: 0.6903 MB / 0.7953 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.2206, allocations: 366.1 kB / 0.7957 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2206, allocations: 0 / 0.7957 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/0.2207, allocations: 39.92 kB / 0.7957 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.2209, allocations: 28.34 kB / 0.7957 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.2233, allocations: 2.054 MB / 0.7977 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.2236, allocations: 0.7004 MB / 0.7984 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.2237, allocations: 8.438 kB / 0.7984 GB, free: 104 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.2237, allocations: 27.42 kB / 0.7985 GB, free: 80 kB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2237, allocations: 0 / 0.7985 GB, free: 80 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4649/0.6886, allocations: 3.494 MB / 0.8019 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.6889, allocations: 213.8 kB / 0.8021 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/2.768, allocations: 3.938 kB / 0.8021 GB, free: 12.48 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)