Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008847/0.0008848, allocations: 174.9 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000699/0.000699, allocations: 96.64 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 9.625 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1766, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001369/0.178, allocations: 1.162 MB / 0.8974 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004192/0.1785, allocations: 225 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.1786, allocations: 0 / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.471e-05/0.1786, allocations: 3.984 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.649e-05/0.1787, allocations: 11.88 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.1789, allocations: 23.97 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.179, allocations: 83.64 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1791, allocations: 28.39 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.481e-05/0.1792, allocations: 27.86 kB / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.1793, allocations: 27.84 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1793, allocations: 4 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.1793, allocations: 0 / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.1793, allocations: 19.91 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.1794, allocations: 31.86 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.667e-05/0.1795, allocations: 67.7 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1795, allocations: 0 / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1795, allocations: 0 / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1795, allocations: 0 / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005448/0.1801, allocations: 399.2 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1801, allocations: 8.031 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.1802, allocations: 38.75 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.1802, allocations: 12.92 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1803, allocations: 180.2 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1804, allocations: 8.312 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1804, allocations: 4.375 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1805, allocations: 69.92 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1805, allocations: 0 / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1806, allocations: 0 / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1806, allocations: 0 / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.057e-05/0.1806, allocations: 31.97 kB / 0.8986 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.181, allocations: 316.6 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.025e-05/0.1811, allocations: 46.58 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.1812, allocations: 20.84 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1812, allocations: 0 / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.1814, allocations: 95.41 kB / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1814, allocations: 0 / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002122/0.1816, allocations: 117.5 kB / 0.8992 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1816, allocations: 59.39 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.1817, allocations: 129.7 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.1817, allocations: 29.7 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.1818, allocations: 93 kB / 0.8995 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1818, allocations: 19.95 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1818, allocations: 25.7 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.1819, allocations: 322.8 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.5e-05/0.1819, allocations: 19.98 kB / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.485e-05/0.182, allocations: 47.42 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.182, allocations: 67.38 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.182, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001223/0.1822, allocations: 109.5 kB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1822, allocations: 6.812 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1822, allocations: 0 / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1822, allocations: 4 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.1823, allocations: 4 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1823, allocations: 11.92 kB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1824, allocations: 31.91 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1824, allocations: 4 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,logicalSwitch.y,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,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): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 6.353e-05/0.1825, allocations: 130.2 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.1825, allocations: 7.906 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.1825, allocations: 8.375 kB / 0.9003 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1825, allocations: 11.97 kB / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1825, allocations: 4 kB / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1826, allocations: 3.938 kB / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.1827, allocations: 197.5 kB / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1827, allocations: 0 / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.1827, allocations: 0 / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1827, allocations: 0 / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1827, allocations: 7.938 kB / 0.9005 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1827, allocations: 0 / 0.9005 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1827, allocations: 0 / 0.9005 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.1829, allocations: 128.9 kB / 0.9006 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.1829, allocations: 85.02 kB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1829, allocations: 0 / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.183, allocations: 23.97 kB / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.1831, allocations: 11.98 kB / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1831, allocations: 7.984 kB / 0.9007 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.1832, allocations: 103.3 kB / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1832, allocations: 0 / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001904/0.1834, allocations: 19.94 kB / 0.9008 GB, free: 62.96 MB / 0.6042 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,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.0003498/0.1837, allocations: 0.6576 MB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1838, allocations: 64.23 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1839, allocations: 4.062 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.557e-05/0.1839, allocations: 40.05 kB / 0.9016 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1842, allocations: 19.98 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1852, allocations: 1.432 MB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.1853, allocations: 0.6926 MB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.1854, allocations: 12.55 kB / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.1854, allocations: 23.44 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.1854, allocations: 0 / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.1961, allocations: 2.052 MB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/0.1962, allocations: 225.5 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/1.655, allocations: 1.406 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)