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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 115.5 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8642/0.8642, allocations: 129.2 MB / 432.5 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 75.83 kB / 0.5987 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4188, allocations: 83.44 MB / 0.6801 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002207/0.421, allocations: 1.543 MB / 0.6817 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009152/0.4219, allocations: 0.5804 MB / 0.6822 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.422, allocations: 8.969 kB / 0.6822 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.4221, allocations: 7.922 kB / 0.6822 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.4222, allocations: 27.08 kB / 0.6823 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.4225, allocations: 95.09 kB / 0.6823 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.4227, allocations: 93.7 kB / 0.6824 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.4228, allocations: 15.16 kB / 0.6825 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.4229, allocations: 53.84 kB / 0.6825 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.423, allocations: 45.7 kB / 0.6825 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.423, allocations: 6.719 kB / 0.6826 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.4232, allocations: 83.98 kB / 0.6826 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.4232, allocations: 32.48 kB / 0.6827 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.4233, allocations: 37.42 kB / 0.6827 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.4235, allocations: 139.3 kB / 0.6828 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4235, allocations: 1 kB / 0.6828 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4235, allocations: 0 / 0.6828 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.4235, allocations: 0 / 0.6828 GB, free: 3.914 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.0007533/0.4243, allocations: 452.6 kB / 0.6833 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4243, allocations: 13.5 kB / 0.6833 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.4243, allocations: 36.73 kB / 0.6833 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.4244, allocations: 9.922 kB / 0.6833 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.4245, allocations: 205.3 kB / 0.6835 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4245, allocations: 6.375 kB / 0.6835 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.4246, allocations: 4.031 kB / 0.6835 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.4248, allocations: 107.5 kB / 0.6836 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4249, allocations: 0 / 0.6836 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.4249, allocations: 0.9688 kB / 0.6836 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.4249, allocations: 7.625 kB / 0.6836 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.4252, allocations: 81.7 kB / 0.6837 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.4258, allocations: 349.3 kB / 0.6841 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.426, allocations: 88.64 kB / 0.6841 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.4262, allocations: 57.94 kB / 0.6842 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.4262, allocations: 1.344 kB / 0.6842 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.4265, allocations: 121 kB / 0.6843 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.4265, allocations: 0 / 0.6843 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005643/0.4271, allocations: 206.7 kB / 0.6845 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.4271, allocations: 57.66 kB / 0.6846 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/0.4272, allocations: 141.3 kB / 0.6847 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4272, allocations: 26.89 kB / 0.6847 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.4272, allocations: 103.9 kB / 0.6848 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.4272, allocations: 27.61 kB / 0.6848 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.4273, allocations: 26.78 kB / 0.6849 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.4273, allocations: 324.5 kB / 0.6852 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.4275, allocations: 56.27 kB / 0.6852 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.4276, allocations: 65.66 kB / 0.6853 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.4279, allocations: 147.4 kB / 0.6854 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4279, allocations: 4 kB / 0.6854 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004022/0.4283, allocations: 200.1 kB / 0.6856 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.4284, allocations: 35.72 kB / 0.6857 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4284, allocations: 1.25 kB / 0.6857 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4284, allocations: 0 / 0.6857 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.4285, allocations: 21.05 kB / 0.6857 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4285, allocations: 0 / 0.6857 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.4287, allocations: 22.06 kB / 0.6857 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.4287, allocations: 10.27 kB / 0.6857 GB, free: 1.414 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 7.246e-05/0.4288, allocations: 125 kB / 0.6858 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.4288, allocations: 9.109 kB / 0.6858 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.4288, allocations: 14.98 kB / 0.6859 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.4288, allocations: 6.781 kB / 0.6859 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4288, allocations: 1.062 kB / 0.6859 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4288, allocations: 0 / 0.6859 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.429, allocations: 196.7 kB / 0.6861 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.429, allocations: 0 / 0.6861 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.4291, allocations: 14.95 kB / 0.6861 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4291, allocations: 5.344 kB / 0.6861 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4291, allocations: 480 / 0.6861 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4291, allocations: 5.203 kB / 0.6861 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4291, allocations: 0 / 0.6861 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.4295, allocations: 202.1 kB / 0.6863 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.4295, allocations: 87.59 kB / 0.6864 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4295, allocations: 1.562 kB / 0.6864 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4296, allocations: 12.27 kB / 0.6864 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.4297, allocations: 13.36 kB / 0.6864 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.4297, allocations: 5.328 kB / 0.6864 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.4297, allocations: 111.2 kB / 0.6865 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4297, allocations: 0 / 0.6865 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002391/0.43, allocations: 40.28 kB / 0.6865 GB, free: 0.6797 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.0005643/0.4305, allocations: 0.7311 MB / 0.6872 GB, free: 24 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004636/0.431, allocations: 182.8 kB / 0.6874 GB, free: 15.9 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.431, allocations: 0 / 0.6874 GB, free: 15.9 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.4312, allocations: 63.66 kB / 0.6875 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.4314, allocations: 6.219 kB / 0.6875 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.4338, allocations: 1.72 MB / 0.6892 GB, free: 14.43 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.4341, allocations: 0.6992 MB / 0.6898 GB, free: 13.72 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 7.79e-05/0.4342, allocations: 19.61 kB / 0.6899 GB, free: 13.71 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.4342, allocations: 35.83 kB / 0.6899 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of SimCode: time 3.01e-07/0.4342, allocations: 0 / 0.6899 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.4588, allocations: 2.767 MB / 0.6926 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.128, allocations: 16.75 kB / 0.6926 GB, free: 12.21 MB / 0.5138 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.598471362143755] Failed to read output from testmodel.py, exit status != 0: 8.19769679242745 8.224346095 7.795856121 Calling exit ...