Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001309, allocations: 183.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.506/0.506, allocations: 91.99 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 223.2 MB / 354.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 112 kB / 427.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003839, allocations: 4 kB / 0.4982 GB, free: 42.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 72.32 MB / 0.5689 GB, free: 1.961 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6143/0.8026, allocations: 103.1 MB / 0.6695 GB, free: 1.438 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.8029, allocations: 79.94 kB / 0.6696 GB, free: 1.359 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.8133, allocations: 3.552 MB / 0.6731 GB, free: 13.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.8133, allocations: 0 / 0.6731 GB, free: 13.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.8133, allocations: 0 / 0.6731 GB, free: 13.81 MB / 474.7 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.00077/0.8141, allocations: 461.2 kB / 0.6735 GB, free: 13.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.8142, allocations: 12.03 kB / 0.6735 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.8142, allocations: 11.86 kB / 0.6735 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.8145, allocations: 197.4 kB / 0.6737 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.8145, allocations: 8 kB / 0.6737 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.8146, allocations: 4 kB / 0.6737 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.8149, allocations: 117.6 kB / 0.6739 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.815, allocations: 4 kB / 0.6739 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.815, allocations: 3.953 kB / 0.6739 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.815, allocations: 4 kB / 0.6739 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.8154, allocations: 107.9 kB / 0.674 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.8161, allocations: 368.6 kB / 0.6743 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.8164, allocations: 114.4 kB / 0.6744 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.8165, allocations: 3.938 kB / 0.6744 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.8168, allocations: 123.4 kB / 0.6746 GB, free: 12.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.8169, allocations: 0 / 0.6746 GB, free: 12.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007875/0.8176, allocations: 310.5 kB / 0.6749 GB, free: 11.81 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.8177, allocations: 51.48 kB / 0.6749 GB, free: 11.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.8178, allocations: 132.8 kB / 0.675 GB, free: 11.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.8179, allocations: 25.7 kB / 0.6751 GB, free: 11.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.818, allocations: 100 kB / 0.6751 GB, free: 11.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.818, allocations: 35.55 kB / 0.6752 GB, free: 11.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.818, allocations: 4 kB / 0.6752 GB, free: 11.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.8182, allocations: 322.8 kB / 0.6755 GB, free: 11.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.8184, allocations: 63.95 kB / 0.6756 GB, free: 11.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.8186, allocations: 63.95 kB / 0.6756 GB, free: 10.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.8188, allocations: 97.61 kB / 0.6757 GB, free: 10.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8188, allocations: 4 kB / 0.6757 GB, free: 10.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004779/0.8193, allocations: 216.3 kB / 0.6759 GB, free: 10.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.8193, allocations: 33.7 kB / 0.676 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.8194, allocations: 0 / 0.676 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8194, allocations: 4 kB / 0.676 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.8195, allocations: 27.97 kB / 0.676 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8195, allocations: 0 / 0.676 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.8197, allocations: 19.98 kB / 0.676 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.8197, allocations: 4 kB / 0.676 GB, free: 10.57 MB / 474.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.8199, allocations: 130.2 kB / 0.6761 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.8199, allocations: 7.906 kB / 0.6761 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.8204, allocations: 190.1 kB / 0.6763 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.8204, allocations: 4 kB / 0.6763 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.8205, allocations: 0 / 0.6763 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8205, allocations: 0 / 0.6763 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.8207, allocations: 205.5 kB / 0.6765 GB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.8207, allocations: 3.953 kB / 0.6765 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.8208, allocations: 31.91 kB / 0.6766 GB, free: 9.938 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8208, allocations: 0 / 0.6766 GB, free: 9.938 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.8209, allocations: 4 kB / 0.6766 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8209, allocations: 0 / 0.6766 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8209, allocations: 0 / 0.6766 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.8213, allocations: 200.9 kB / 0.6767 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.8214, allocations: 84.97 kB / 0.6768 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.8214, allocations: 4 kB / 0.6768 GB, free: 9.613 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.8216, allocations: 27.97 kB / 0.6769 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.8217, allocations: 7.984 kB / 0.6769 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.8217, allocations: 7.984 kB / 0.6769 GB, free: 9.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.858e-05/0.8218, allocations: 109 kB / 0.677 GB, free: 9.465 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.224e-06/0.8218, allocations: 0 / 0.677 GB, free: 9.465 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.8221, allocations: 39.94 kB / 0.677 GB, free: 9.426 MB / 474.7 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: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002007/0.8223, allocations: 127.2 kB / 0.6771 GB, free: 9.289 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005195/0.8228, allocations: 236.9 kB / 0.6774 GB, free: 9.039 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8228, allocations: 0 / 0.6774 GB, free: 9.039 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.823, allocations: 97.89 kB / 0.6775 GB, free: 8.938 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.8232, allocations: 5.25 kB / 0.6775 GB, free: 8.934 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.8238, allocations: 265.8 kB / 0.6777 GB, free: 8.652 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.8241, allocations: 0.7045 MB / 0.6784 GB, free: 7.922 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.271e-05/0.8242, allocations: 23.75 kB / 0.6784 GB, free: 7.898 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.8242, allocations: 19.31 kB / 0.6784 GB, free: 7.883 MB / 474.7 MB Notification: Performance of SimCode: time 5.21e-07/0.8242, allocations: 0 / 0.6784 GB, free: 7.883 MB / 474.7 MB Notification: Performance of Templates: time 0.003938/0.8282, allocations: 1.274 MB / 0.6797 GB, free: 6.621 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)