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.001321/0.001321, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001741/0.001741, allocations: 193 kB / 16.14 MB, free: 6.656 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.523/1.523, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 68.95 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4146, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002443/0.417, allocations: 0.6508 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 5.277e-05/0.4171, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.4172, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.4172, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.4173, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.643e-05/0.4173, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.4174, allocations: 11.94 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.202e-05/0.4175, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.4175, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.411e-05/0.4175, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.4175, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-06/0.4176, allocations: 4 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.4176, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.4176, allocations: 3.938 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.073e-05/0.4177, allocations: 3.984 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4177, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.023e-06/0.4177, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4177, allocations: 4 kB / 1.068 GB, free: 10.18 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.0004391/0.4182, allocations: 311.6 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.4182, allocations: 8.031 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.4183, allocations: 8.938 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.4184, allocations: 168.4 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4185, allocations: 384 / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4185, allocations: 384 / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.4186, allocations: 26.27 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4186, allocations: 8.188 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4186, allocations: 3.938 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4186, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.4187, allocations: 3.938 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.4191, allocations: 379.5 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.27e-05/0.4192, allocations: 169.1 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.4192, allocations: 88.08 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.4192, allocations: 75.28 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.4193, allocations: 117.8 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4193, allocations: 0 / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.454e-05/0.4194, allocations: 27.91 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.4195, allocations: 130.7 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.4196, allocations: 101.8 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.4196, allocations: 25.7 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.4197, allocations: 80.14 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.4197, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.4197, allocations: 17.72 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4198, allocations: 314.8 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-06/0.4198, allocations: 0 / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.4198, allocations: 128 / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/0.4199, allocations: 83.22 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-05/0.4199, allocations: 79.28 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.315e-05/0.42, allocations: 37.55 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.42, allocations: 80.38 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.4201, allocations: 79.27 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.765e-05/0.4201, allocations: 154.5 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.766e-05/0.4202, allocations: 79.28 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.644e-05/0.4202, allocations: 162.5 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-05/0.4203, allocations: 75.28 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.4204, allocations: 75.28 kB / 1.071 GB, free: 7.039 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.0001337/0.4205, allocations: 264.3 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.4206, allocations: 108.9 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.4206, allocations: 111.9 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.561e-05/0.4207, allocations: 188.2 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.758e-05/0.4208, allocations: 176.3 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.859e-05/0.4208, allocations: 176.3 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.4211, allocations: 409.1 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.181e-05/0.4211, allocations: 109 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.4212, allocations: 108.9 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-05/0.4213, allocations: 184.5 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/0.4213, allocations: 180.3 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.973e-05/0.4214, allocations: 180.2 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.27e-05/0.4215, allocations: 180.3 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.4217, allocations: 315.7 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-05/0.4218, allocations: 182 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.4219, allocations: 180.3 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.422, allocations: 101 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.4221, allocations: 192.2 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.4221, allocations: 104.9 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.559e-05/0.4222, allocations: 79.28 kB / 1.074 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4222, allocations: 0 / 1.074 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002634/0.4225, allocations: 0 / 1.074 GB, free: 3.359 MB / 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.0002308/0.4227, allocations: 174.5 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.632e-05/0.4227, allocations: 11.97 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4228, allocations: 0 / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4228, allocations: 0 / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.4232, allocations: 0.524 MB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.4235, allocations: 154 kB / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.4238, allocations: 0.6731 MB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.054e-05/0.4238, allocations: 0 / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.4238, allocations: 7.438 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.4238, allocations: 0 / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of Templates: time 0.002427/0.4263, allocations: 161 kB / 1.076 GB, free: 1.594 MB / 0.8262 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)