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.0006928/0.0006928, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008873/0.0008873, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8619/0.8619, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.5357/0.5357, allocations: 110.2 MB / 369.4 MB, free: 12.62 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 1.833e-06/1.833e-06, allocations: 0 / 0.5472 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/2.006e-05, allocations: 5.094 kB / 0.5472 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003034/0.003054, allocations: 1.541 MB / 0.5487 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.004202, allocations: 0.6154 MB / 0.5493 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.004277, allocations: 3.938 kB / 0.5493 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.004379, allocations: 3.938 kB / 0.5493 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.00444, allocations: 27.73 kB / 0.5494 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.004929, allocations: 107.7 kB / 0.5495 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.005094, allocations: 95.64 kB / 0.5496 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.005197, allocations: 16.22 kB / 0.5496 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.005387, allocations: 63.81 kB / 0.5496 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.005472, allocations: 35.89 kB / 0.5497 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.005496, allocations: 11.98 kB / 0.5497 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.005649, allocations: 91.84 kB / 0.5498 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.005698, allocations: 27.92 kB / 0.5498 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.005752, allocations: 27.91 kB / 0.5498 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.006258, allocations: 171.4 kB / 0.55 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.006261, allocations: 0 / 0.55 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006262, allocations: 4 kB / 0.55 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.006267, allocations: 0 / 0.55 GB, free: 7.031 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.0007066/0.006974, allocations: 379.5 kB / 0.5504 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.007012, allocations: 8.031 kB / 0.5504 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.007052, allocations: 46.73 kB / 0.5504 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.007276, allocations: 36.75 kB / 0.5504 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.0075, allocations: 137.6 kB / 0.5506 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.007515, allocations: 8.359 kB / 0.5506 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.007533, allocations: 4.375 kB / 0.5506 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.007825, allocations: 110 kB / 0.5507 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.007835, allocations: 192 / 0.5507 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.007852, allocations: 8.109 kB / 0.5507 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.007875, allocations: 11.98 kB / 0.5507 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.00813, allocations: 87.92 kB / 0.5508 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.008716, allocations: 299.8 kB / 0.5511 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.008973, allocations: 94.45 kB / 0.5512 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.009119, allocations: 52.88 kB / 0.5512 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.009133, allocations: 0 / 0.5512 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.009403, allocations: 115.3 kB / 0.5513 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.009405, allocations: 0 / 0.5513 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0005766/0.009982, allocations: 205.5 kB / 0.5515 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.01002, allocations: 55.41 kB / 0.5516 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.01014, allocations: 148 kB / 0.5517 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.01016, allocations: 29.7 kB / 0.5518 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.01022, allocations: 100.2 kB / 0.5519 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.01025, allocations: 31.73 kB / 0.5519 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.0103, allocations: 25.7 kB / 0.5519 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.0104, allocations: 326.8 kB / 0.5522 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.01059, allocations: 89.59 kB / 0.5523 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.01074, allocations: 85.66 kB / 0.5524 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.01103, allocations: 146.8 kB / 0.5525 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01103, allocations: 0 / 0.5525 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003979/0.01143, allocations: 236.9 kB / 0.5528 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.01146, allocations: 29.8 kB / 0.5528 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01147, allocations: 7.922 kB / 0.5528 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01148, allocations: 4 kB / 0.5528 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.0116, allocations: 15.98 kB / 0.5528 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.0116, allocations: 0 / 0.5528 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.0117, allocations: 15.94 kB / 0.5528 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.01173, allocations: 16.06 kB / 0.5528 GB, free: 3.887 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 9.221e-05/0.01182, allocations: 121.8 kB / 0.553 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.01183, allocations: 7.953 kB / 0.553 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.01186, allocations: 12.77 kB / 0.553 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.01187, allocations: 4 kB / 0.553 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01187, allocations: 0 / 0.553 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01187, allocations: 4 kB / 0.553 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.01198, allocations: 164.6 kB / 0.5531 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01198, allocations: 0 / 0.5531 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.01204, allocations: 19.92 kB / 0.5532 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01204, allocations: 4 kB / 0.5532 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01205, allocations: 7.984 kB / 0.5532 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.01205, allocations: 7.984 kB / 0.5532 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01206, allocations: 0 / 0.5532 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.01229, allocations: 180.9 kB / 0.5533 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.0123, allocations: 11.89 kB / 0.5534 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.01232, allocations: 4 kB / 0.5534 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.01237, allocations: 15.98 kB / 0.5534 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.01242, allocations: 19.91 kB / 0.5534 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.01242, allocations: 0 / 0.5534 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.01247, allocations: 120.4 kB / 0.5535 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01247, allocations: 0 / 0.5535 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001574/0.01263, allocations: 36 kB / 0.5535 GB, free: 3.086 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.000462/0.01309, allocations: 0.7489 MB / 0.5543 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.01336, allocations: 201 kB / 0.5545 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01336, allocations: 0 / 0.5545 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.01346, allocations: 63.88 kB / 0.5545 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.01362, allocations: 15.94 kB / 0.5545 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.01506, allocations: 1.833 MB / 0.5563 GB, free: 64 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.878e-05/0.01512, allocations: 89.42 kB / 0.5564 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.907e-05/0.01517, allocations: 11.98 kB / 0.5564 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.01521, allocations: 28.48 kB / 0.5565 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.01522, allocations: 0 / 0.5565 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.02984, allocations: 3.541 MB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/6.989, allocations: 7.391 kB / 0.5599 GB, free: 12.54 MB / 0.5261 GB " [Timeout remaining time 653] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.343852324411273] Failed to read output from testmodel.py, exit status != 0: 7.0735883275046945 7.083916103 7.074934176 Calling exit ...