Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.46/1.46, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.0008166/0.0008166, allocations: 188.5 kB / 372.3 MB, free: 10.12 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.171/1.171, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0006728/0.0006728, allocations: 102.2 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 12.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1586, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0005745/0.1592, allocations: 294.2 kB / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 2.8e-05/0.1593, allocations: 0 / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.1593, allocations: 0 / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.022e-05/0.1593, allocations: 0 / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.567e-05/0.1594, allocations: 0 / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.403e-05/0.1594, allocations: 0 / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.77e-05/0.1594, allocations: 4 kB / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.1595, allocations: 0 / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.151e-05/0.1595, allocations: 3.938 kB / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.659e-05/0.1595, allocations: 0 / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1595, allocations: 4 kB / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.339e-06/0.1595, allocations: 4 kB / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.1596, allocations: 0 / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.1596, allocations: 33.69 kB / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.43e-05/0.1596, allocations: 0 / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1596, allocations: 0 / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1596, allocations: 0 / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1596, allocations: 0 / 0.9805 GB, free: 26.9 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001747/0.1598, allocations: 311.6 kB / 0.9808 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1599, allocations: 12.02 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.374e-05/0.1599, allocations: 34.75 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.662e-05/0.1599, allocations: 0.9375 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.736e-05/0.16, allocations: 168.3 kB / 0.981 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.16, allocations: 4.375 kB / 0.9811 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-06/0.16, allocations: 384 / 0.9811 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.03e-05/0.1601, allocations: 30.27 kB / 0.9811 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1601, allocations: 3.938 kB / 0.9811 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.1601, allocations: 0 / 0.9811 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1601, allocations: 3.938 kB / 0.9811 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.337e-05/0.1601, allocations: 4 kB / 0.9811 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.1603, allocations: 391.4 kB / 0.9815 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.256e-05/0.1604, allocations: 177 kB / 0.9816 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.1604, allocations: 80.14 kB / 0.9817 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1604, allocations: 75.28 kB / 0.9818 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.1605, allocations: 113.8 kB / 0.9819 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1605, allocations: 0 / 0.9819 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.939e-05/0.1605, allocations: 41.66 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.1606, allocations: 126.7 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.401e-05/0.1606, allocations: 97.86 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-06/0.1606, allocations: 25.7 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.208e-05/0.1606, allocations: 84.27 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/0.1607, allocations: 0 / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.1607, allocations: 0 / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.301e-05/0.1607, allocations: 310.8 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-06/0.1607, allocations: 0 / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-06/0.1607, allocations: 0 / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.064e-05/0.1607, allocations: 75.28 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.1607, allocations: 83.22 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.704e-05/0.1608, allocations: 33.69 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1608, allocations: 83.28 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1608, allocations: 83.22 kB / 0.9829 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1609, allocations: 150.6 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-06/0.1609, allocations: 79.22 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.1609, allocations: 150.6 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.161, allocations: 79.28 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.161, allocations: 87.2 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 5.104e-05/0.161, allocations: 268.6 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1611, allocations: 105 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.1611, allocations: 108 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.1611, allocations: 177.1 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/0.1611, allocations: 188.2 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.1612, allocations: 180.3 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.1613, allocations: 401.2 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.1613, allocations: 108.9 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.1613, allocations: 108.9 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.017e-05/0.1614, allocations: 184.2 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.1614, allocations: 184.6 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.952e-05/0.1614, allocations: 176.3 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.095e-05/0.1614, allocations: 184.2 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.495e-05/0.1615, allocations: 311.7 kB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.1615, allocations: 186.1 kB / 0.9861 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1616, allocations: 180.2 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.1616, allocations: 104.9 kB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.1616, allocations: 176.3 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1617, allocations: 112.9 kB / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.683e-05/0.1617, allocations: 83.28 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1617, allocations: 3.938 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002381/0.1619, allocations: 0 / 0.9868 GB, free: 20.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001894/0.1621, allocations: 0.8048 MB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 2.783e-05/0.1622, allocations: 8.031 kB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1622, allocations: 4 kB / 0.9876 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1622, allocations: 0 / 0.9876 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1624, allocations: 0.5224 MB / 0.9881 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.1628, allocations: 0.4977 MB / 0.9886 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.158e-05/0.1629, allocations: 0.6809 MB / 0.9892 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.364e-06/0.1629, allocations: 0 / 0.9892 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.1629, allocations: 7.438 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.1629, allocations: 0 / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2384/0.4014, allocations: 0.7274 MB / 0.99 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.4016, allocations: 223.5 kB / 0.9902 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.945, allocations: 0 / 0.9902 GB, free: 16.59 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)