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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.036/1.036, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.553/0.553, allocations: 110.2 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.278e-06/4.278e-06, allocations: 0 / 0.5472 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.884e-05, allocations: 2.281 kB / 0.5472 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.004029/0.004068, allocations: 1.545 MB / 0.5487 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.005461, allocations: 0.6115 MB / 0.5493 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.005541, allocations: 7.938 kB / 0.5493 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.005653, allocations: 7.875 kB / 0.5493 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.005721, allocations: 27.78 kB / 0.5494 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.006241, allocations: 107.6 kB / 0.5495 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.006415, allocations: 103.6 kB / 0.5496 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.006524, allocations: 12.22 kB / 0.5496 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.006724, allocations: 67.81 kB / 0.5497 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.47e-05/0.006809, allocations: 35.89 kB / 0.5497 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.006831, allocations: 8 kB / 0.5497 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.006991, allocations: 95.83 kB / 0.5498 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.007044, allocations: 15.92 kB / 0.5498 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.007094, allocations: 31.92 kB / 0.5498 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.007341, allocations: 167.5 kB / 0.55 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.007345, allocations: 0 / 0.55 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.152e-06/0.007346, allocations: 0 / 0.55 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.00735, allocations: 3.938 kB / 0.55 GB, free: 7.027 MB / 0.5105 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.0007291/0.008079, allocations: 383.5 kB / 0.5504 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.008127, allocations: 12.02 kB / 0.5504 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.008172, allocations: 34.75 kB / 0.5504 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.008433, allocations: 40.81 kB / 0.5504 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.008673, allocations: 137.6 kB / 0.5506 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.008687, allocations: 384 / 0.5506 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.008709, allocations: 12.36 kB / 0.5506 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.009007, allocations: 102.1 kB / 0.5507 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.009017, allocations: 4.125 kB / 0.5507 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.009033, allocations: 8.109 kB / 0.5507 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.009057, allocations: 4 kB / 0.5507 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.009458, allocations: 87.92 kB / 0.5508 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.01002, allocations: 311.7 kB / 0.5511 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.0102, allocations: 86.45 kB / 0.5512 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.01028, allocations: 60.88 kB / 0.5512 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.0103, allocations: 0 / 0.5512 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.0105, allocations: 115.3 kB / 0.5513 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.0105, allocations: 0 / 0.5513 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0003819/0.01088, allocations: 205.5 kB / 0.5515 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.01091, allocations: 55.41 kB / 0.5516 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.011, allocations: 148 kB / 0.5517 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.01102, allocations: 29.7 kB / 0.5518 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.01107, allocations: 100.1 kB / 0.5518 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.01108, allocations: 27.75 kB / 0.5519 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.01113, allocations: 33.77 kB / 0.5519 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.01121, allocations: 326.8 kB / 0.5522 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.01132, allocations: 85.66 kB / 0.5523 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.421e-05/0.01142, allocations: 85.59 kB / 0.5524 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.0116, allocations: 146.5 kB / 0.5525 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.0116, allocations: 0 / 0.5525 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002558/0.01186, allocations: 229 kB / 0.5527 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.01189, allocations: 37.69 kB / 0.5528 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01189, allocations: 80 / 0.5528 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.01191, allocations: 0 / 0.5528 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.01199, allocations: 24.39 kB / 0.5528 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01199, allocations: 7.984 kB / 0.5528 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.01206, allocations: 19.92 kB / 0.5528 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.01207, allocations: 7.984 kB / 0.5528 GB, free: 3.883 MB / 0.5105 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.01214, allocations: 125.7 kB / 0.553 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.01216, allocations: 11.95 kB / 0.553 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.01218, allocations: 16.77 kB / 0.553 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.01219, allocations: 4 kB / 0.553 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.0122, allocations: 0 / 0.553 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.0122, allocations: 0 / 0.553 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.01231, allocations: 160.7 kB / 0.5531 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01231, allocations: 0 / 0.5531 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.01236, allocations: 19.98 kB / 0.5532 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01236, allocations: 4 kB / 0.5532 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01237, allocations: 7.984 kB / 0.5532 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01237, allocations: 0 / 0.5532 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01237, allocations: 3.938 kB / 0.5532 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.01259, allocations: 184.9 kB / 0.5533 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.0126, allocations: 11.89 kB / 0.5534 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.01262, allocations: 4 kB / 0.5534 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.01267, allocations: 19.98 kB / 0.5534 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.01272, allocations: 11.97 kB / 0.5534 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.01272, allocations: 4 kB / 0.5534 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.01277, allocations: 112.5 kB / 0.5535 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.01277, allocations: 0 / 0.5535 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001708/0.01294, allocations: 39.94 kB / 0.5535 GB, free: 3.082 MB / 0.5105 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.0004457/0.01339, allocations: 0.7373 MB / 0.5543 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.01365, allocations: 208.9 kB / 0.5545 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01366, allocations: 3.938 kB / 0.5545 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.01376, allocations: 63.88 kB / 0.5545 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.01391, allocations: 19.98 kB / 0.5545 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.01534, allocations: 1.829 MB / 0.5563 GB, free: 60 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.211e-05/0.0154, allocations: 93.44 kB / 0.5564 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.891e-05/0.01545, allocations: 11.98 kB / 0.5564 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.0155, allocations: 32.48 kB / 0.5565 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/0.0155, allocations: 0 / 0.5565 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.0302, allocations: 3.542 MB / 0.5599 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.424, allocations: 4.062 kB / 0.5599 GB, free: 12.53 MB / 0.5261 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.167996953241527] Failed to read output from testmodel.py, exit status != 0: 7.508311904035509 7.517505719 7.508131295 Calling exit ...