Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.659/2.659, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.00161/0.001609, allocations: 185.1 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.00119/0.001189, allocations: 94.23 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00051/0.0005099, allocations: 12 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.292, allocations: 136.9 MB / 1.112 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.292, allocations: 67.5 kB / 1.112 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001186/1.293, allocations: 370 kB / 1.112 GB, free: 31.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.946e-06/1.293, allocations: 0 / 1.112 GB, free: 31.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.297e-06/1.293, allocations: 3.906 kB / 1.112 GB, free: 31.25 MB / 0.698 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.0003493/1.294, allocations: 313.2 kB / 1.113 GB, free: 30.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/1.294, allocations: 15.52 kB / 1.113 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/1.294, allocations: 30.56 kB / 1.113 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/1.294, allocations: 0 / 1.113 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/1.294, allocations: 172.2 kB / 1.113 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/1.294, allocations: 0 / 1.113 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/1.294, allocations: 0 / 1.113 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/1.294, allocations: 33.55 kB / 1.113 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.294, allocations: 0 / 1.113 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.294, allocations: 1.219 kB / 1.113 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.294, allocations: 0 / 1.113 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/1.294, allocations: 0 / 1.113 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/1.295, allocations: 387.2 kB / 1.113 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/1.295, allocations: 173 kB / 1.114 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/1.295, allocations: 75.28 kB / 1.114 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.326e-05/1.295, allocations: 109.6 kB / 1.114 GB, free: 29.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.175e-06/1.295, allocations: 0 / 1.114 GB, free: 29.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001178/1.295, allocations: 31.44 kB / 1.114 GB, free: 29.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/1.295, allocations: 129.4 kB / 1.114 GB, free: 29.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.296, allocations: 90.38 kB / 1.114 GB, free: 29.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/1.296, allocations: 25.7 kB / 1.114 GB, free: 29.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/1.296, allocations: 80.14 kB / 1.114 GB, free: 29.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/1.296, allocations: 0 / 1.114 GB, free: 29.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-07/1.296, allocations: 0 / 1.114 GB, free: 29.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.296, allocations: 329.8 kB / 1.114 GB, free: 29.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/1.296, allocations: 3.938 kB / 1.114 GB, free: 29.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-06/1.296, allocations: 0 / 1.114 GB, free: 29.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.135e-05/1.296, allocations: 78.86 kB / 1.114 GB, free: 29.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.229e-05/1.296, allocations: 75.28 kB / 1.115 GB, free: 28.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001097/1.296, allocations: 30.33 kB / 1.115 GB, free: 28.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/1.296, allocations: 79.12 kB / 1.115 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.781e-05/1.296, allocations: 80.95 kB / 1.115 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/1.296, allocations: 158.4 kB / 1.115 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.459e-05/1.297, allocations: 79.16 kB / 1.115 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.418e-05/1.297, allocations: 156.3 kB / 1.115 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/1.297, allocations: 77.53 kB / 1.115 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/1.297, allocations: 83 kB / 1.115 GB, free: 28.28 MB / 0.698 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 0.0001999/1.297, allocations: 265.7 kB / 1.115 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/1.297, allocations: 101 kB / 1.116 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.022e-05/1.297, allocations: 117.5 kB / 1.116 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001122/1.297, allocations: 180.5 kB / 1.116 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.955e-05/1.298, allocations: 178.1 kB / 1.116 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/1.298, allocations: 184.2 kB / 1.116 GB, free: 27.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/1.298, allocations: 411.5 kB / 1.117 GB, free: 26.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.648e-05/1.298, allocations: 101 kB / 1.117 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/1.298, allocations: 107.6 kB / 1.117 GB, free: 26.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/1.298, allocations: 184 kB / 1.117 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.298, allocations: 180.2 kB / 1.117 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001069/1.299, allocations: 178.1 kB / 1.117 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001059/1.299, allocations: 184.8 kB / 1.117 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/1.299, allocations: 308.9 kB / 1.118 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/1.299, allocations: 191.3 kB / 1.118 GB, free: 25.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.299, allocations: 177.9 kB / 1.118 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/1.299, allocations: 108.9 kB / 1.118 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/1.3, allocations: 181.8 kB / 1.118 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/1.3, allocations: 104.8 kB / 1.119 GB, free: 24.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.284e-05/1.3, allocations: 75.28 kB / 1.119 GB, free: 24.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.82e-07/1.3, allocations: 0 / 1.119 GB, free: 24.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000595/1.3, allocations: 0 / 1.119 GB, free: 24.68 MB / 0.698 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.0006562/1.301, allocations: 0.8172 MB / 1.119 GB, free: 23.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.859e-05/1.301, allocations: 7.812 kB / 1.119 GB, free: 23.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.301, allocations: 0 / 1.119 GB, free: 23.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/1.301, allocations: 0 / 1.119 GB, free: 23.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/1.302, allocations: 0.5262 MB / 1.12 GB, free: 23.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009896/1.303, allocations: 0.4949 MB / 1.12 GB, free: 22.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/1.303, allocations: 0.6816 MB / 1.121 GB, free: 22.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.367e-05/1.303, allocations: 0 / 1.121 GB, free: 22.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/1.303, allocations: 7.438 kB / 1.121 GB, free: 22.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/1.303, allocations: 0 / 1.121 GB, free: 22.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/1.324, allocations: 0.7292 MB / 1.122 GB, free: 21.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/1.325, allocations: 195.7 kB / 1.122 GB, free: 21.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/3.595, allocations: 2.812 kB / 1.122 GB, free: 21.73 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)