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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001304, allocations: 187.8 kB / 16.62 MB, free: 6.613 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.354/1.354, allocations: 222.9 MB / 240.3 MB, free: 4.344 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 0.9885/0.9885, allocations: 143 MB / 433.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 63.91 kB / 0.5144 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1706, allocations: 82.04 MB / 0.5945 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002596/0.1732, allocations: 1.549 MB / 0.596 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009474/0.1742, allocations: 0.5765 MB / 0.5966 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.1742, allocations: 0 / 0.5966 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.867e-05/0.1743, allocations: 11.86 kB / 0.5966 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.1744, allocations: 15.81 kB / 0.5966 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.1748, allocations: 99.7 kB / 0.5967 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1749, allocations: 99.73 kB / 0.5968 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.175, allocations: 12.23 kB / 0.5968 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1752, allocations: 47.78 kB / 0.5969 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.1753, allocations: 51.81 kB / 0.5969 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1753, allocations: 8 kB / 0.5969 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1754, allocations: 87.84 kB / 0.597 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.1755, allocations: 19.92 kB / 0.597 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.1755, allocations: 39.73 kB / 0.5971 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1757, allocations: 147.8 kB / 0.5972 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1758, allocations: 0 / 0.5972 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1758, allocations: 0 / 0.5972 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1758, allocations: 0 / 0.5972 GB, free: 6.602 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.000737/0.1765, allocations: 456.7 kB / 0.5977 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1766, allocations: 11.97 kB / 0.5977 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.1766, allocations: 42.73 kB / 0.5977 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.1767, allocations: 8.844 kB / 0.5977 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1768, allocations: 184.2 kB / 0.5979 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1768, allocations: 4.375 kB / 0.5979 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1769, allocations: 8.359 kB / 0.5979 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.1772, allocations: 109.7 kB / 0.598 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1772, allocations: 3.938 kB / 0.598 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1772, allocations: 0 / 0.598 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.1772, allocations: 7.984 kB / 0.598 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.1776, allocations: 91.91 kB / 0.5981 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.1782, allocations: 348.6 kB / 0.5984 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.1786, allocations: 94.45 kB / 0.5985 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1788, allocations: 56.88 kB / 0.5986 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1788, allocations: 8 kB / 0.5986 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/0.1791, allocations: 107.4 kB / 0.5987 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.425e-06/0.1791, allocations: 3.938 kB / 0.5987 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006275/0.1798, allocations: 221.3 kB / 0.5989 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1798, allocations: 55.39 kB / 0.599 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1799, allocations: 133.8 kB / 0.5991 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.18, allocations: 29.7 kB / 0.5991 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.18, allocations: 104.1 kB / 0.5992 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1801, allocations: 23.62 kB / 0.5992 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.1801, allocations: 25.7 kB / 0.5993 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1803, allocations: 326.8 kB / 0.5996 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.1805, allocations: 63.95 kB / 0.5996 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.1806, allocations: 55.89 kB / 0.5997 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.181, allocations: 142.5 kB / 0.5998 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.181, allocations: 4 kB / 0.5998 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004358/0.1814, allocations: 191.2 kB / 0.6 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.1815, allocations: 33.7 kB / 0.6 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1815, allocations: 0 / 0.6 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1815, allocations: 3.938 kB / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1817, allocations: 27.91 kB / 0.6001 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1817, allocations: 4 kB / 0.6001 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.1818, allocations: 23.83 kB / 0.6001 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1819, allocations: 7.938 kB / 0.6001 GB, free: 3.379 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 8.94e-05/0.182, allocations: 117.8 kB / 0.6002 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.182, allocations: 7.906 kB / 0.6002 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.182, allocations: 16.72 kB / 0.6002 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.1821, allocations: 7.984 kB / 0.6003 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1821, allocations: 0 / 0.6003 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1821, allocations: 4 kB / 0.6003 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.1822, allocations: 197.5 kB / 0.6004 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1823, allocations: 0 / 0.6004 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1824, allocations: 15.97 kB / 0.6005 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1824, allocations: 4.469 kB / 0.6005 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1824, allocations: 0 / 0.6005 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1824, allocations: 0 / 0.6005 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1824, allocations: 3.938 kB / 0.6005 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.1828, allocations: 188.8 kB / 0.6006 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.1829, allocations: 85.02 kB / 0.6007 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1829, allocations: 3.984 kB / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.183, allocations: 11.98 kB / 0.6007 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.1831, allocations: 15.98 kB / 0.6008 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1831, allocations: 0 / 0.6008 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001155/0.1832, allocations: 121.4 kB / 0.6009 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.533e-06/0.1832, allocations: 0 / 0.6009 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002382/0.1835, allocations: 39.94 kB / 0.6009 GB, free: 2.457 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.0007586/0.1843, allocations: 0.7371 MB / 0.6016 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004632/0.1847, allocations: 183.2 kB / 0.6018 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1847, allocations: 0 / 0.6018 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.1849, allocations: 63.89 kB / 0.6019 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.1852, allocations: 25.86 kB / 0.6019 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2374/0.4226, allocations: 1.703 MB / 0.6036 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.4227, allocations: 0.6976 MB / 0.6042 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.4228, allocations: 12.56 kB / 0.6042 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.4229, allocations: 31.8 kB / 0.6043 GB, free: 42.44 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.4229, allocations: 0 / 0.6043 GB, free: 42.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.4403, allocations: 2.742 MB / 0.607 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.771, allocations: 4.219 kB / 0.607 GB, free: 42.18 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)