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.007492/0.007492, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001465/0.001465, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.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 1.06/1.06, allocations: 143 MB / 433.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.12 kB / 0.5141 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1982, allocations: 82.03 MB / 0.5942 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002965/0.2012, allocations: 1.61 MB / 0.5958 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2023, allocations: 0.5844 MB / 0.5964 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.2024, allocations: 0 / 0.5964 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.2025, allocations: 11.92 kB / 0.5964 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.2026, allocations: 15.86 kB / 0.5964 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.203, allocations: 75.86 kB / 0.5965 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.2031, allocations: 83.7 kB / 0.5966 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2032, allocations: 24.16 kB / 0.5966 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2034, allocations: 43.89 kB / 0.5966 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.2035, allocations: 39.83 kB / 0.5967 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2035, allocations: 8 kB / 0.5967 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.2036, allocations: 63.91 kB / 0.5967 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.2037, allocations: 19.91 kB / 0.5968 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.2037, allocations: 39.72 kB / 0.5968 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.2039, allocations: 92.06 kB / 0.5969 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.2039, allocations: 4 kB / 0.5969 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2039, allocations: 0 / 0.5969 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.2039, allocations: 0 / 0.5969 GB, free: 7.324 MB / 0.4981 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.0008689/0.2048, allocations: 452.7 kB / 0.5973 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2049, allocations: 8.031 kB / 0.5973 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.2049, allocations: 12.84 kB / 0.5973 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.2051, allocations: 194.9 kB / 0.5975 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2051, allocations: 4.375 kB / 0.5975 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.2052, allocations: 4.375 kB / 0.5975 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.2055, allocations: 113.9 kB / 0.5976 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2055, allocations: 4 kB / 0.5977 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2055, allocations: 4 kB / 0.5977 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.2056, allocations: 4 kB / 0.5977 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.2059, allocations: 87.84 kB / 0.5977 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.2066, allocations: 356.6 kB / 0.5981 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.2069, allocations: 94.5 kB / 0.5982 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.2071, allocations: 56.88 kB / 0.5982 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.2071, allocations: 0 / 0.5982 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003635/0.2075, allocations: 119.3 kB / 0.5983 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.2075, allocations: 0 / 0.5983 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006728/0.2082, allocations: 201.4 kB / 0.5985 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.2083, allocations: 59.41 kB / 0.5986 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2084, allocations: 145.7 kB / 0.5987 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2084, allocations: 25.7 kB / 0.5988 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.2085, allocations: 92.14 kB / 0.5988 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.2085, allocations: 35.61 kB / 0.5989 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.2086, allocations: 29.7 kB / 0.5989 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2087, allocations: 326.8 kB / 0.5992 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.2089, allocations: 55.95 kB / 0.5993 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.2091, allocations: 55.95 kB / 0.5993 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.2095, allocations: 146.5 kB / 0.5995 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2095, allocations: 0 / 0.5995 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004705/0.21, allocations: 203.2 kB / 0.5997 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.21, allocations: 33.7 kB / 0.5997 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.21, allocations: 0 / 0.5997 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2101, allocations: 0 / 0.5997 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2102, allocations: 19.97 kB / 0.5997 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2102, allocations: 0 / 0.5997 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.2104, allocations: 23.92 kB / 0.5997 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.2104, allocations: 4 kB / 0.5997 GB, free: 4.164 MB / 0.4981 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.0001167/0.2105, allocations: 130.2 kB / 0.5999 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.2106, allocations: 11.81 kB / 0.5999 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.2106, allocations: 8.719 kB / 0.5999 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.2106, allocations: 7.938 kB / 0.5999 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2106, allocations: 0 / 0.5999 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2106, allocations: 4 kB / 0.5999 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.2108, allocations: 201.5 kB / 0.6001 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2108, allocations: 4 kB / 0.6001 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.211, allocations: 19.97 kB / 0.6001 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.211, allocations: 0 / 0.6001 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.211, allocations: 0 / 0.6001 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.211, allocations: 4 kB / 0.6001 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.211, allocations: 0 / 0.6001 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.2114, allocations: 184.8 kB / 0.6003 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.2115, allocations: 89.02 kB / 0.6004 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.2115, allocations: 0 / 0.6004 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.2117, allocations: 19.97 kB / 0.6004 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.2117, allocations: 11.98 kB / 0.6004 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2118, allocations: 7.938 kB / 0.6004 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.002e-05/0.2118, allocations: 113.6 kB / 0.6005 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2118, allocations: 0 / 0.6005 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000254/0.2121, allocations: 39.94 kB / 0.6006 GB, free: 3.227 MB / 0.4981 GB 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.0001888/0.2123, allocations: 119.2 kB / 0.6007 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.2128, allocations: 187.2 kB / 0.6008 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2128, allocations: 0 / 0.6008 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.213, allocations: 63.95 kB / 0.6009 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.2132, allocations: 10.52 kB / 0.6009 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/0.2138, allocations: 291 kB / 0.6012 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2141, allocations: 0.6965 MB / 0.6019 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.2142, allocations: 11.44 kB / 0.6019 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.2142, allocations: 0 / 0.6019 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of Templates: time 0.003396/0.2176, allocations: 1.514 MB / 0.6034 GB, free: 280 kB / 0.4981 GB 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)