Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009939/0.009939, allocations: 170.5 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.055/3.055, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004118, allocations: 10.78 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4241, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0009005/0.425, allocations: 319.4 kB / 1.074 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.291e-05/0.4251, allocations: 4 kB / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.4251, allocations: 0 / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.4252, allocations: 0 / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.019e-05/0.4252, allocations: 0 / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.341e-05/0.4252, allocations: 0 / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.061e-05/0.4253, allocations: 4 kB / 1.074 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.036e-05/0.4254, allocations: 4 kB / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.621e-05/0.4254, allocations: 3.984 kB / 1.074 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.111e-05/0.4254, allocations: 4 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.4254, allocations: 0 / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-06/0.4254, allocations: 0 / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.4255, allocations: 0 / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.4255, allocations: 29.64 kB / 1.075 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.555e-05/0.4256, allocations: 7.984 kB / 1.075 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4256, allocations: 0 / 1.075 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4256, allocations: 0 / 1.075 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.4256, allocations: 0 / 1.075 GB, free: 7.152 MB / 0.8262 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.0003256/0.4259, allocations: 307.6 kB / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.426, allocations: 16.09 kB / 1.075 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.426, allocations: 0.9375 kB / 1.075 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.4261, allocations: 164.3 kB / 1.075 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4262, allocations: 4.312 kB / 1.075 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.4262, allocations: 384 / 1.075 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.436e-05/0.4263, allocations: 34.25 kB / 1.075 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4263, allocations: 192 / 1.075 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4263, allocations: 3.938 kB / 1.075 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.4263, allocations: 0 / 1.075 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.4263, allocations: 4 kB / 1.075 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.4267, allocations: 379.5 kB / 1.075 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.4268, allocations: 173 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.4269, allocations: 80.14 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.4269, allocations: 83.31 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/0.427, allocations: 109.8 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.427, allocations: 0 / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.412e-05/0.4271, allocations: 31.81 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.4271, allocations: 126.7 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.4272, allocations: 97.84 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.4272, allocations: 25.7 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.4273, allocations: 88.3 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.4273, allocations: 0 / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.4273, allocations: 9.719 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4275, allocations: 318.8 kB / 1.076 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-06/0.4275, allocations: 3.938 kB / 1.076 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-06/0.4275, allocations: 0 / 1.076 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.4275, allocations: 75.28 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.808e-05/0.4276, allocations: 75.28 kB / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.634e-05/0.4276, allocations: 37.64 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.4277, allocations: 83.22 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.4277, allocations: 75.28 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-05/0.4278, allocations: 154.5 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.807e-05/0.4278, allocations: 87.22 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-05/0.4279, allocations: 154.6 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.428, allocations: 83.12 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.428, allocations: 79.28 kB / 1.077 GB, free: 4.016 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.4282, allocations: 264.3 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.4283, allocations: 101 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.4283, allocations: 115.8 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.678e-05/0.4284, allocations: 184.3 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.948e-05/0.4285, allocations: 184.2 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.405e-05/0.4286, allocations: 176.3 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.4289, allocations: 401.2 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/0.4289, allocations: 116.9 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.429, allocations: 101 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.389e-05/0.429, allocations: 192.5 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.312e-05/0.4291, allocations: 180.2 kB / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.297e-05/0.4292, allocations: 180.3 kB / 1.079 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.887e-05/0.4293, allocations: 184.2 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.4295, allocations: 311.7 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.4296, allocations: 182.1 kB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.4297, allocations: 176.3 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.4298, allocations: 108.9 kB / 1.08 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4299, allocations: 180.3 kB / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.4299, allocations: 108.9 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.898e-05/0.43, allocations: 83.28 kB / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.43, allocations: 0 / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002459/0.4302, allocations: 0 / 1.081 GB, free: 344 kB / 0.8262 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 (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.0002443/0.4305, allocations: 170.5 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.371e-05/0.4306, allocations: 4 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4306, allocations: 3.938 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.4306, allocations: 0 / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.4312, allocations: 0.5264 MB / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.4315, allocations: 154 kB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.4318, allocations: 0.6731 MB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.236e-05/0.4318, allocations: 0 / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.4319, allocations: 7.438 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.4319, allocations: 0 / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.002477/0.4344, allocations: 164.8 kB / 1.082 GB, free: 14.57 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1)