Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 108.5 kB / 16.41 MB, free: 6.406 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.001573/0.001573, allocations: 192.3 kB / 17.35 MB, free: 5.691 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002293/0.002293, allocations: 287.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9993/0.9993, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 95.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5102, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.003166/0.5134, allocations: 1.554 MB / 0.7685 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.5147, allocations: 0.5705 MB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.5149, allocations: 0 / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.515, allocations: 11.86 kB / 0.7691 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.496e-05/0.5152, allocations: 19.81 kB / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.5157, allocations: 91.75 kB / 0.7692 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.5159, allocations: 99.64 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.5161, allocations: 24.22 kB / 0.7693 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.5162, allocations: 39.84 kB / 0.7694 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.5164, allocations: 47.83 kB / 0.7694 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.5164, allocations: 7.984 kB / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.5166, allocations: 91.84 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.977e-05/0.5167, allocations: 19.92 kB / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.5168, allocations: 35.8 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.5171, allocations: 147.2 kB / 0.7697 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5171, allocations: 0 / 0.7697 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.506e-06/0.5171, allocations: 0 / 0.7697 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.5171, allocations: 7.938 kB / 0.7697 GB, free: 1.133 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009875/0.5181, allocations: 459.2 kB / 0.7701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5182, allocations: 8.031 kB / 0.7702 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.5183, allocations: 8.844 kB / 0.7702 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.5185, allocations: 188.2 kB / 0.7703 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.5185, allocations: 8.375 kB / 0.7703 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.5186, allocations: 4.375 kB / 0.7704 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.5189, allocations: 109.9 kB / 0.7705 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5189, allocations: 0 / 0.7705 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.519, allocations: 4 kB / 0.7705 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.519, allocations: 4 kB / 0.7705 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.5193, allocations: 87.91 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.5201, allocations: 352.6 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.5205, allocations: 98.44 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.5207, allocations: 52.88 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.5207, allocations: 8 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/0.5211, allocations: 107.3 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.695e-06/0.5211, allocations: 0 / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006934/0.5218, allocations: 209.4 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.5218, allocations: 51.41 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.522, allocations: 147.9 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.522, allocations: 33.64 kB / 0.7716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.5221, allocations: 92.14 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.5222, allocations: 35.61 kB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.5223, allocations: 29.7 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5224, allocations: 326.8 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.5226, allocations: 55.89 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.5228, allocations: 60.23 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.5232, allocations: 142.5 kB / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5232, allocations: 4.094 kB / 0.7723 GB, free: 14.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000481/0.5237, allocations: 199.1 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.5237, allocations: 33.7 kB / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5238, allocations: 0 / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5238, allocations: 0 / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.5239, allocations: 15.98 kB / 0.7725 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.524, allocations: 3.984 kB / 0.7725 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.5241, allocations: 27.98 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.5241, allocations: 7.938 kB / 0.7725 GB, free: 13.97 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.0001263/0.5243, allocations: 120.3 kB / 0.7727 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.5243, allocations: 15.8 kB / 0.7727 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.5244, allocations: 12.72 kB / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5244, allocations: 0 / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5244, allocations: 0 / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.5244, allocations: 88.95 kB / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.5245, allocations: 15.92 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.5246, allocations: 15.97 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.5247, allocations: 11.98 kB / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005614/0.5253, allocations: 240.8 kB / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005051/0.5258, allocations: 330.6 kB / 0.7734 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001977/0.526, allocations: 63.94 kB / 0.7734 GB, free: 13.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.286e-05/0.5261, allocations: 107.2 kB / 0.7735 GB, free: 12.92 MB / 0.545 GB Notification: Performance of Backend: time 8.11e-07/0.5261, allocations: 0 / 0.7735 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007753/0.5269, allocations: 231.5 kB / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007529/0.5277, allocations: 0.6376 MB / 0.7744 GB, free: 11.99 MB / 0.545 GB Notification: Performance of Templates: time 0.00572/0.5334, allocations: 1.734 MB / 0.7761 GB, free: 10.27 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)