Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001157/0.001157, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001126/0.001126, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.275/1.275, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 288.4 kB / 303 MB, free: 3.543 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9582/0.9582, allocations: 180.9 MB / 0.5261 GB, free: 2.758 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 95.84 kB / 0.7247 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.421, allocations: 94.16 MB / 0.8167 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002051/0.4231, allocations: 1.555 MB / 0.8182 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007142/0.4238, allocations: 0.5836 MB / 0.8188 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.4238, allocations: 1 kB / 0.8188 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.511e-05/0.4239, allocations: 8.781 kB / 0.8188 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-05/0.424, allocations: 25.02 kB / 0.8188 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.4243, allocations: 95.11 kB / 0.8189 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.4244, allocations: 91.56 kB / 0.819 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.4245, allocations: 18.58 kB / 0.819 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.4245, allocations: 43.41 kB / 0.819 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.4246, allocations: 47.55 kB / 0.8191 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.4246, allocations: 6.531 kB / 0.8191 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.4248, allocations: 98.66 kB / 0.8192 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.4248, allocations: 18.78 kB / 0.8192 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.4248, allocations: 40.62 kB / 0.8192 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.425, allocations: 143.4 kB / 0.8194 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.425, allocations: 0.9688 kB / 0.8194 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.425, allocations: 0 / 0.8194 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.425, allocations: 0 / 0.8194 GB, free: 5.398 MB / 0.5762 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.0006105/0.4256, allocations: 458.8 kB / 0.8198 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.4256, allocations: 9.188 kB / 0.8198 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.788e-05/0.4257, allocations: 37.97 kB / 0.8199 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.4257, allocations: 13.33 kB / 0.8199 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.4258, allocations: 192.9 kB / 0.8201 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4258, allocations: 14.06 kB / 0.8201 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.4258, allocations: 4.5 kB / 0.8201 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.4261, allocations: 105 kB / 0.8202 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4261, allocations: 5.188 kB / 0.8202 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4261, allocations: 0 / 0.8202 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.4261, allocations: 3.531 kB / 0.8202 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.4264, allocations: 89.53 kB / 0.8203 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.4269, allocations: 350.7 kB / 0.8206 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.4271, allocations: 89.98 kB / 0.8207 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.4273, allocations: 63.91 kB / 0.8208 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.4273, allocations: 0 / 0.8208 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.4275, allocations: 112.2 kB / 0.8209 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.4275, allocations: 4 kB / 0.8209 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0005402/0.4281, allocations: 196.5 kB / 0.8211 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.4281, allocations: 60.97 kB / 0.8211 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.4282, allocations: 142.7 kB / 0.8212 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.4282, allocations: 28.66 kB / 0.8213 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.4282, allocations: 101.8 kB / 0.8214 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.4283, allocations: 29.53 kB / 0.8214 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.4283, allocations: 29.38 kB / 0.8214 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.864e-05/0.4283, allocations: 324.8 kB / 0.8217 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.4285, allocations: 57.36 kB / 0.8218 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.4287, allocations: 53 kB / 0.8218 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.429, allocations: 151.3 kB / 0.822 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.429, allocations: 1.188 kB / 0.822 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003813/0.4293, allocations: 204.2 kB / 0.8222 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4294, allocations: 31.75 kB / 0.8222 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4294, allocations: 4.703 kB / 0.8222 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4294, allocations: 2.625 kB / 0.8222 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4295, allocations: 21.16 kB / 0.8222 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.4295, allocations: 2.625 kB / 0.8222 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.4296, allocations: 16.73 kB / 0.8223 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.4296, allocations: 7.859 kB / 0.8223 GB, free: 3.219 MB / 0.5762 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 5.931e-05/0.4297, allocations: 123.2 kB / 0.8224 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.4297, allocations: 11.19 kB / 0.8224 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.4298, allocations: 16.41 kB / 0.8224 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4298, allocations: 10.52 kB / 0.8224 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4298, allocations: 0 / 0.8224 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.4298, allocations: 0.6562 kB / 0.8224 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.4299, allocations: 203.1 kB / 0.8226 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4299, allocations: 4.516 kB / 0.8226 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.43, allocations: 16.06 kB / 0.8226 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.43, allocations: 0 / 0.8226 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.43, allocations: 4.312 kB / 0.8226 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.43, allocations: 7.984 kB / 0.8226 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.43, allocations: 0.5625 kB / 0.8226 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.4303, allocations: 184.5 kB / 0.8228 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.4304, allocations: 85.14 kB / 0.8229 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.4304, allocations: 0 / 0.8229 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.4305, allocations: 20.17 kB / 0.8229 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.4305, allocations: 18.8 kB / 0.8229 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.4305, allocations: 1.172 kB / 0.8229 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.4306, allocations: 108.4 kB / 0.823 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4306, allocations: 0 / 0.823 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002122/0.4308, allocations: 42.86 kB / 0.8231 GB, free: 2.547 MB / 0.5762 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.0005163/0.4313, allocations: 0.7365 MB / 0.8238 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.4317, allocations: 180 kB / 0.824 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4317, allocations: 4 kB / 0.824 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.4319, allocations: 58.48 kB / 0.824 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.432, allocations: 11.39 kB / 0.824 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.4339, allocations: 1.72 MB / 0.8257 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.4341, allocations: 0.6995 MB / 0.8264 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.507e-05/0.4342, allocations: 17.42 kB / 0.8264 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.4342, allocations: 30.06 kB / 0.8265 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.4343, allocations: 0 / 0.8265 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.4586, allocations: 2.785 MB / 0.8292 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/7.735, allocations: 9.797 kB / 0.8292 GB, free: 15.3 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.099265637807548] Failed to read output from testmodel.py, exit status != 0: 7.807202643249184 7.81975916 7.392268148 Calling exit ...