Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008832/0.000883, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009089/0.0009088, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.683/1.683, allocations: 252 MB / 0.5102 GB, free: 4.73 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005006, allocations: 12 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7057, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001806/0.7076, allocations: 1.253 MB / 0.7294 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000498/0.7081, allocations: 208.2 kB / 0.7296 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.7082, allocations: 4 kB / 0.7296 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.7083, allocations: 7.922 kB / 0.7296 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.43e-05/0.7084, allocations: 23.78 kB / 0.7296 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.7087, allocations: 43.95 kB / 0.7296 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.7088, allocations: 147.5 kB / 0.7298 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.709, allocations: 17.45 kB / 0.7298 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.7091, allocations: 63.73 kB / 0.7299 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.7092, allocations: 71.69 kB / 0.7299 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.7092, allocations: 8 kB / 0.7299 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.7092, allocations: 4 kB / 0.7299 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.7093, allocations: 31.89 kB / 0.73 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.7093, allocations: 45.64 kB / 0.73 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.7095, allocations: 105.7 kB / 0.7301 GB, free: 9.355 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.7095, allocations: 0 / 0.7301 GB, free: 9.355 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7095, allocations: 3.984 kB / 0.7301 GB, free: 9.352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.7095, allocations: 0 / 0.7301 GB, free: 9.352 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009151/0.7104, allocations: 0.4948 MB / 0.7306 GB, free: 8.809 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.7105, allocations: 8.031 kB / 0.7306 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.7105, allocations: 15.81 kB / 0.7306 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.7109, allocations: 223.4 kB / 0.7308 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.7109, allocations: 7.984 kB / 0.7308 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.7109, allocations: 12 kB / 0.7308 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.7116, allocations: 233.8 kB / 0.7311 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7116, allocations: 0 / 0.7311 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.7117, allocations: 4 kB / 0.7311 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.7117, allocations: 11.89 kB / 0.7311 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.7124, allocations: 247.7 kB / 0.7313 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.7136, allocations: 0.8097 MB / 0.7321 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/0.7143, allocations: 272.9 kB / 0.7324 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.7147, allocations: 144.3 kB / 0.7325 GB, free: 6.656 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.7147, allocations: 7.984 kB / 0.7325 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006056/0.7153, allocations: 231.5 kB / 0.7327 GB, free: 6.395 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.7154, allocations: 0 / 0.7327 GB, free: 6.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001285/0.7166, allocations: 433.5 kB / 0.7332 GB, free: 5.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.7168, allocations: 162.2 kB / 0.7333 GB, free: 5.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.7169, allocations: 183.3 kB / 0.7335 GB, free: 5.582 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.717, allocations: 25.7 kB / 0.7335 GB, free: 5.551 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.7171, allocations: 116 kB / 0.7336 GB, free: 5.434 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.7171, allocations: 31.55 kB / 0.7336 GB, free: 5.402 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.7171, allocations: 4.062 kB / 0.7337 GB, free: 5.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7173, allocations: 330.8 kB / 0.734 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.7177, allocations: 127.9 kB / 0.7341 GB, free: 4.941 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.7181, allocations: 176.2 kB / 0.7343 GB, free: 4.754 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.7185, allocations: 127.8 kB / 0.7344 GB, free: 4.629 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7185, allocations: 4 kB / 0.7344 GB, free: 4.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008534/0.7194, allocations: 329.3 kB / 0.7347 GB, free: 4.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.7194, allocations: 5.875 kB / 0.7347 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.7194, allocations: 3.938 kB / 0.7347 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.7194, allocations: 4 kB / 0.7347 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.7197, allocations: 67.88 kB / 0.7348 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.7197, allocations: 4 kB / 0.7348 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.72, allocations: 59.78 kB / 0.7348 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.72, allocations: 12 kB / 0.7348 GB, free: 4.145 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001388/0.7202, allocations: 137.7 kB / 0.735 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.7202, allocations: 15.81 kB / 0.735 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.7203, allocations: 16.94 kB / 0.735 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.7203, allocations: 4 kB / 0.735 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.7203, allocations: 4 kB / 0.735 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.7203, allocations: 4.359 kB / 0.735 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.7206, allocations: 229.5 kB / 0.7352 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7206, allocations: 4 kB / 0.7352 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.7208, allocations: 55.94 kB / 0.7353 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.7208, allocations: 4 kB / 0.7353 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.7208, allocations: 3.984 kB / 0.7353 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.7208, allocations: 8 kB / 0.7353 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7209, allocations: 0 / 0.7353 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008701/0.7217, allocations: 367.9 kB / 0.7357 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.7218, allocations: 92.91 kB / 0.7358 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.7219, allocations: 4 kB / 0.7358 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.7221, allocations: 55.94 kB / 0.7358 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7222, allocations: 31.95 kB / 0.7358 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.7222, allocations: 4 kB / 0.7358 GB, free: 3.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001397/0.7224, allocations: 131.4 kB / 0.736 GB, free: 2.887 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7224, allocations: 0 / 0.736 GB, free: 2.887 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002433/0.7226, allocations: 31.91 kB / 0.736 GB, free: 2.855 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001548/0.7228, allocations: 107.2 kB / 0.7361 GB, free: 2.738 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008677/0.7237, allocations: 279.7 kB / 0.7364 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7237, allocations: 0 / 0.7364 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.7242, allocations: 160.2 kB / 0.7365 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.7245, allocations: 31.88 kB / 0.7366 GB, free: 2.277 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.7252, allocations: 319.6 kB / 0.7369 GB, free: 1.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.7255, allocations: 0.72 MB / 0.7376 GB, free: 1.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.7257, allocations: 20.62 kB / 0.7376 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.7257, allocations: 15.44 kB / 0.7376 GB, free: 1.145 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/0.7257, allocations: 0 / 0.7376 GB, free: 1.145 MB / 0.545 GB Notification: Performance of Templates: time 0.004694/0.7304, allocations: 1.82 MB / 0.7394 GB, free: 15.34 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) Environment - environmentSimulation: