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.001433/0.001433, allocations: 108 kB / 15.6 MB, free: 132 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.001083/0.001083, allocations: 199 kB / 16.54 MB, free: 6.672 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.014/1.014, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001983, allocations: 63.83 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1827, allocations: 82.03 MB / 0.5944 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002494/0.1852, allocations: 1.552 MB / 0.5959 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.1861, allocations: 0.5688 MB / 0.5964 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.1862, allocations: 4 kB / 0.5964 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.546e-05/0.1863, allocations: 11.86 kB / 0.5965 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.1863, allocations: 19.8 kB / 0.5965 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1867, allocations: 95.7 kB / 0.5966 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1868, allocations: 95.7 kB / 0.5967 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1869, allocations: 24.22 kB / 0.5967 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.187, allocations: 43.83 kB / 0.5967 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.1871, allocations: 47.83 kB / 0.5968 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1871, allocations: 4 kB / 0.5968 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1873, allocations: 59.89 kB / 0.5968 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.1873, allocations: 23.92 kB / 0.5969 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.1874, allocations: 43.72 kB / 0.5969 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1875, allocations: 135.9 kB / 0.597 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1876, allocations: 0 / 0.597 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1876, allocations: 0 / 0.597 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.1876, allocations: 4 kB / 0.597 GB, free: 6.754 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.0007211/0.1883, allocations: 456.6 kB / 0.5975 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1883, allocations: 12.03 kB / 0.5975 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.1884, allocations: 34.75 kB / 0.5975 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.1884, allocations: 12.78 kB / 0.5975 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.1886, allocations: 192.2 kB / 0.5977 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1886, allocations: 384 / 0.5977 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1886, allocations: 8.359 kB / 0.5977 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1889, allocations: 113.7 kB / 0.5978 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1889, allocations: 4 kB / 0.5978 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.189, allocations: 0 / 0.5978 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.189, allocations: 4 kB / 0.5978 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.1893, allocations: 87.91 kB / 0.5979 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.1899, allocations: 344.7 kB / 0.5982 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.1903, allocations: 98.44 kB / 0.5983 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.1905, allocations: 64.88 kB / 0.5984 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1905, allocations: 0 / 0.5984 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.1908, allocations: 111.3 kB / 0.5985 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1908, allocations: 0 / 0.5985 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006587/0.1914, allocations: 213.4 kB / 0.5987 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1915, allocations: 55.41 kB / 0.5988 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1916, allocations: 140.7 kB / 0.5989 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1916, allocations: 25.7 kB / 0.5989 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.1917, allocations: 100.1 kB / 0.599 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1917, allocations: 27.61 kB / 0.599 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.1918, allocations: 29.7 kB / 0.5991 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1919, allocations: 326.9 kB / 0.5994 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.1921, allocations: 59.89 kB / 0.5994 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1923, allocations: 59.89 kB / 0.5995 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.1927, allocations: 147 kB / 0.5996 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1927, allocations: 0 / 0.5996 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004706/0.1932, allocations: 195.1 kB / 0.5998 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.1932, allocations: 33.8 kB / 0.5999 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1932, allocations: 7.875 kB / 0.5999 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1932, allocations: 4 kB / 0.5999 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1934, allocations: 23.97 kB / 0.5999 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1934, allocations: 0 / 0.5999 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.1936, allocations: 19.83 kB / 0.5999 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1936, allocations: 7.938 kB / 0.5999 GB, free: 3.539 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 9.31e-05/0.1937, allocations: 129.8 kB / 0.6 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.1937, allocations: 11.89 kB / 0.6 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.1938, allocations: 8.719 kB / 0.6001 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.1938, allocations: 8 kB / 0.6001 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1938, allocations: 3.938 kB / 0.6001 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1938, allocations: 0 / 0.6001 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.194, allocations: 197.5 kB / 0.6003 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.194, allocations: 0 / 0.6003 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.1941, allocations: 23.97 kB / 0.6003 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1941, allocations: 0 / 0.6003 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1941, allocations: 4 kB / 0.6003 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1941, allocations: 3.938 kB / 0.6003 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1941, allocations: 4 kB / 0.6003 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.1946, allocations: 180.9 kB / 0.6005 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.1946, allocations: 81.02 kB / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1947, allocations: 4 kB / 0.6005 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1948, allocations: 15.97 kB / 0.6006 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.1949, allocations: 15.98 kB / 0.6006 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1949, allocations: 4 kB / 0.6006 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.291e-05/0.195, allocations: 121 kB / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.195, allocations: 0 / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002412/0.1952, allocations: 43.98 kB / 0.6007 GB, free: 2.598 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.0007736/0.196, allocations: 0.737 MB / 0.6015 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.1965, allocations: 187.3 kB / 0.6016 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1965, allocations: 0 / 0.6016 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.1967, allocations: 67.89 kB / 0.6017 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.1969, allocations: 18.47 kB / 0.6017 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.211/0.408, allocations: 1.685 MB / 0.6034 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.4082, allocations: 0.697 MB / 0.604 GB, free: 42.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.4083, allocations: 14.69 kB / 0.6041 GB, free: 42.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.4084, allocations: 29.38 kB / 0.6041 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.4084, allocations: 0 / 0.6041 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.427, allocations: 2.72 MB / 0.6067 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.64/9.067, allocations: 5.375 kB / 0.6067 GB, free: 42.05 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)