Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001316/0.001316, allocations: 103 kB / 16.27 MB, free: 6.402 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.001246/0.001246, allocations: 191 kB / 17.2 MB, free: 5.969 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.271/1.271, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.7962/0.7962, allocations: 143 MB / 434.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 55.91 kB / 0.5148 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3258, allocations: 82.03 MB / 0.5949 GB, free: 16.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003864/0.3297, allocations: 1.537 MB / 0.5964 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.331, allocations: 0.5833 MB / 0.597 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.3312, allocations: 0 / 0.597 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.3314, allocations: 7.875 kB / 0.597 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.3315, allocations: 20.55 kB / 0.597 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.332, allocations: 93.25 kB / 0.5971 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.3322, allocations: 107.6 kB / 0.5972 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.3324, allocations: 19.72 kB / 0.5972 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.3325, allocations: 43.84 kB / 0.5973 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.3327, allocations: 47.81 kB / 0.5973 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.3327, allocations: 8 kB / 0.5973 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.3329, allocations: 60.64 kB / 0.5974 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.333, allocations: 19.92 kB / 0.5974 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.385e-05/0.3331, allocations: 37.2 kB / 0.5974 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.3333, allocations: 137.6 kB / 0.5976 GB, free: 13.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3334, allocations: 7.938 kB / 0.5976 GB, free: 13.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3334, allocations: 1.5 kB / 0.5976 GB, free: 13.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3334, allocations: 0 / 0.5976 GB, free: 13.46 MB / 446.1 MB 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.00103/0.3344, allocations: 457.2 kB / 0.598 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.3345, allocations: 9.594 kB / 0.598 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.756e-05/0.3346, allocations: 8.844 kB / 0.598 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.3348, allocations: 192.2 kB / 0.5982 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3348, allocations: 384 / 0.5982 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.3349, allocations: 9.812 kB / 0.5982 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.3353, allocations: 109.8 kB / 0.5983 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3354, allocations: 0.75 kB / 0.5983 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.3354, allocations: 8 kB / 0.5983 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.3354, allocations: 4.781 kB / 0.5983 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.3359, allocations: 86.97 kB / 0.5984 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008222/0.3367, allocations: 350.1 kB / 0.5988 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.3372, allocations: 95.78 kB / 0.5988 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.3375, allocations: 61.75 kB / 0.5989 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3375, allocations: 0 / 0.5989 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.338, allocations: 117.9 kB / 0.599 GB, free: 11.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.404e-06/0.338, allocations: 0 / 0.599 GB, free: 11.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009099/0.3389, allocations: 202.9 kB / 0.5992 GB, free: 11.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.3389, allocations: 52.69 kB / 0.5993 GB, free: 11.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3391, allocations: 148.1 kB / 0.5994 GB, free: 11.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3391, allocations: 30.98 kB / 0.5994 GB, free: 11.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.3392, allocations: 96.2 kB / 0.5995 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.3392, allocations: 31.55 kB / 0.5996 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.3393, allocations: 26.8 kB / 0.5996 GB, free: 11.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.3394, allocations: 326.8 kB / 0.5999 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.3397, allocations: 58.3 kB / 0.5999 GB, free: 10.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.3399, allocations: 63.94 kB / 0.6 GB, free: 10.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.3404, allocations: 145.2 kB / 0.6001 GB, free: 10.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3405, allocations: 1.344 kB / 0.6001 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006441/0.3411, allocations: 196.7 kB / 0.6003 GB, free: 10.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.3412, allocations: 29.7 kB / 0.6004 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3412, allocations: 480 / 0.6004 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.3412, allocations: 9.281 kB / 0.6004 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.3414, allocations: 19.97 kB / 0.6004 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3415, allocations: 0 / 0.6004 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3417, allocations: 13.02 kB / 0.6004 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.3417, allocations: 7.938 kB / 0.6004 GB, free: 10.33 MB / 446.1 MB 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.0001079/0.3419, allocations: 132.9 kB / 0.6005 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.3419, allocations: 13.28 kB / 0.6006 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.342, allocations: 8.719 kB / 0.6006 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.342, allocations: 4 kB / 0.6006 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.342, allocations: 0 / 0.6006 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.342, allocations: 5.328 kB / 0.6006 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.3422, allocations: 201.5 kB / 0.6008 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3422, allocations: 0 / 0.6008 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.3424, allocations: 29.38 kB / 0.6008 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3424, allocations: 0 / 0.6008 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.3425, allocations: 0 / 0.6008 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.3425, allocations: 3.938 kB / 0.6008 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3425, allocations: 0.7188 kB / 0.6008 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.3432, allocations: 184.3 kB / 0.601 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.3432, allocations: 81.02 kB / 0.601 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.3433, allocations: 4 kB / 0.6011 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.3435, allocations: 20.75 kB / 0.6011 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.3436, allocations: 7.984 kB / 0.6011 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3436, allocations: 9.031 kB / 0.6011 GB, free: 9.551 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.3437, allocations: 111.2 kB / 0.6012 GB, free: 9.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3437, allocations: 0.5 kB / 0.6012 GB, free: 9.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.3441, allocations: 39.94 kB / 0.6012 GB, free: 9.402 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001917/0.3443, allocations: 120.5 kB / 0.6013 GB, free: 9.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007233/0.3451, allocations: 189 kB / 0.6015 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3451, allocations: 1 kB / 0.6015 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.3454, allocations: 61.2 kB / 0.6016 GB, free: 9.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3457, allocations: 20.12 kB / 0.6016 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.3464, allocations: 261.1 kB / 0.6019 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.3465, allocations: 0.7065 MB / 0.6025 GB, free: 7.992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.3466, allocations: 11.44 kB / 0.6026 GB, free: 7.98 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3466, allocations: 0 / 0.6026 GB, free: 7.98 MB / 446.1 MB Notification: Performance of Templates: time 0.004241/0.3508, allocations: 1.513 MB / 0.604 GB, free: 6.527 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)