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.001001/0.001002, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009829/0.0009829, allocations: 195.3 kB / 16.14 MB, free: 6.695 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.206/1.206, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.8631/0.8631, allocations: 143 MB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 59.91 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1307, allocations: 82.04 MB / 0.5937 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002269/0.133, allocations: 1.607 MB / 0.5953 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008272/0.1339, allocations: 0.5767 MB / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.1339, allocations: 3.938 kB / 0.5959 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.883e-05/0.134, allocations: 7.922 kB / 0.5959 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.321e-05/0.1341, allocations: 11.86 kB / 0.5959 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1344, allocations: 79.84 kB / 0.596 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.753e-05/0.1345, allocations: 91.7 kB / 0.596 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.1346, allocations: 12.23 kB / 0.5961 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.1347, allocations: 39.83 kB / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.1348, allocations: 47.83 kB / 0.5961 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1348, allocations: 8 kB / 0.5961 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.1349, allocations: 59.83 kB / 0.5962 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.1349, allocations: 15.97 kB / 0.5962 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.135, allocations: 39.73 kB / 0.5963 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1352, allocations: 135.8 kB / 0.5964 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1352, allocations: 0 / 0.5964 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1352, allocations: 0 / 0.5964 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1352, allocations: 0 / 0.5964 GB, free: 7.207 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.0006804/0.1359, allocations: 460.7 kB / 0.5968 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1359, allocations: 8.031 kB / 0.5968 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.136, allocations: 38.75 kB / 0.5969 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.136, allocations: 8.844 kB / 0.5969 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.1362, allocations: 196.1 kB / 0.5971 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1362, allocations: 4.375 kB / 0.5971 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1362, allocations: 4.375 kB / 0.5971 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.1365, allocations: 109.7 kB / 0.5972 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1365, allocations: 4 kB / 0.5972 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1365, allocations: 3.984 kB / 0.5972 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.1365, allocations: 4 kB / 0.5972 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.1368, allocations: 91.91 kB / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.1374, allocations: 348.6 kB / 0.5976 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.1377, allocations: 90.5 kB / 0.5977 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1379, allocations: 60.98 kB / 0.5978 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.1379, allocations: 7.938 kB / 0.5978 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.1382, allocations: 119.3 kB / 0.5979 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1382, allocations: 0 / 0.5979 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005775/0.1388, allocations: 213.3 kB / 0.5981 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1388, allocations: 55.39 kB / 0.5981 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1389, allocations: 140.2 kB / 0.5983 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1389, allocations: 25.7 kB / 0.5983 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.139, allocations: 104.1 kB / 0.5984 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.139, allocations: 23.62 kB / 0.5984 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.1391, allocations: 25.7 kB / 0.5984 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1392, allocations: 330.8 kB / 0.5987 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.1394, allocations: 55.95 kB / 0.5988 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1395, allocations: 55.95 kB / 0.5989 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.1399, allocations: 146.5 kB / 0.599 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1399, allocations: 4 kB / 0.599 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004181/0.1403, allocations: 199.2 kB / 0.5992 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.1403, allocations: 39.83 kB / 0.5992 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1403, allocations: 0 / 0.5992 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1404, allocations: 480 / 0.5992 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1405, allocations: 23.97 kB / 0.5993 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1405, allocations: 0 / 0.5993 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.1406, allocations: 23.83 kB / 0.5993 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.1407, allocations: 7.938 kB / 0.5993 GB, free: 3.98 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.799e-05/0.1408, allocations: 125.7 kB / 0.5994 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.1408, allocations: 7.906 kB / 0.5994 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.1408, allocations: 16.72 kB / 0.5994 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.1408, allocations: 4 kB / 0.5994 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1409, allocations: 3.984 kB / 0.5994 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1409, allocations: 0 / 0.5994 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.141, allocations: 197.6 kB / 0.5996 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.141, allocations: 0 / 0.5996 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1411, allocations: 19.97 kB / 0.5996 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1411, allocations: 0 / 0.5996 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1412, allocations: 0 / 0.5996 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1412, allocations: 0 / 0.5996 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1412, allocations: 0 / 0.5996 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.1416, allocations: 192.8 kB / 0.5998 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.1416, allocations: 85.02 kB / 0.5999 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1416, allocations: 0 / 0.5999 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1418, allocations: 19.97 kB / 0.5999 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.1418, allocations: 11.98 kB / 0.5999 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1419, allocations: 0 / 0.5999 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.1419, allocations: 115.1 kB / 0.6 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1419, allocations: 4 kB / 0.6 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002239/0.1422, allocations: 44 kB / 0.6001 GB, free: 3.051 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.0007084/0.1429, allocations: 0.7372 MB / 0.6008 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000419/0.1433, allocations: 191.2 kB / 0.601 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1433, allocations: 0 / 0.601 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.1435, allocations: 63.94 kB / 0.6011 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.1437, allocations: 14.45 kB / 0.6011 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.1459, allocations: 1.723 MB / 0.6027 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1998/0.3457, allocations: 0.6973 MB / 0.6034 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.3459, allocations: 13.64 kB / 0.6034 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.3459, allocations: 24.28 kB / 0.6035 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.3459, allocations: 1.641 kB / 0.6035 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.384/1.73, allocations: 2.484 MB / 0.6059 GB, free: 43.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/1.731, allocations: 209.7 kB / 0.6061 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/3.265, allocations: 0.9375 kB / 0.6061 GB, free: 43.23 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)