Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.00115/0.00115, 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.0009758/0.0009758, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.8748/0.8748, 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.5437/0.5437, 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.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 4 kB / 0.5473 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.577e-05, allocations: 6.219 kB / 0.5473 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001368/0.001394, allocations: 0.5852 MB / 0.5479 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.001573, allocations: 43.88 kB / 0.5479 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.158e-05/0.001585, allocations: 0 / 0.5479 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.001597, allocations: 3.938 kB / 0.548 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.001602, allocations: 0 / 0.548 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.001797, allocations: 23.91 kB / 0.548 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 3.365e-05/0.001831, allocations: 0 / 0.548 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.001863, allocations: 0 / 0.548 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.001886, allocations: 7.984 kB / 0.548 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 1.788e-05/0.001904, allocations: 0 / 0.548 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.001915, allocations: 0 / 0.548 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.001998, allocations: 23.98 kB / 0.548 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.002011, allocations: 0 / 0.548 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.002025, allocations: 0 / 0.548 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.858e-05/0.002113, allocations: 27.89 kB / 0.548 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.002115, allocations: 0 / 0.548 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002116, allocations: 0 / 0.548 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.00212, allocations: 0 / 0.548 GB, free: 9.066 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002105/0.00233, allocations: 230.5 kB / 0.5483 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.002371, allocations: 8.031 kB / 0.5483 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.002398, allocations: 30.75 kB / 0.5483 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.002586, allocations: 28.91 kB / 0.5483 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.506e-05/0.002651, allocations: 109.7 kB / 0.5484 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.002661, allocations: 384 / 0.5484 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.002668, allocations: 384 / 0.5484 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.002768, allocations: 34.25 kB / 0.5485 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.002775, allocations: 192 / 0.5485 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.002783, allocations: 384 / 0.5485 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.002788, allocations: 16 kB / 0.5485 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.002836, allocations: 11.98 kB / 0.5485 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.002942, allocations: 120.7 kB / 0.5486 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.002991, allocations: 26.53 kB / 0.5486 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.003021, allocations: 8.922 kB / 0.5486 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.003036, allocations: 0 / 0.5486 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.003054, allocations: 38.56 kB / 0.5487 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 6.22e-07/0.003054, allocations: 0 / 0.5487 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.003205, allocations: 49.77 kB / 0.5487 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.003232, allocations: 55.34 kB / 0.5488 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.466e-05/0.003257, allocations: 93.86 kB / 0.5489 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.003266, allocations: 25.7 kB / 0.5489 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.769e-05/0.003284, allocations: 80.14 kB / 0.549 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.003305, allocations: 3.938 kB / 0.549 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.003458, allocations: 21.64 kB / 0.549 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.003523, allocations: 310.8 kB / 0.5493 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.003547, allocations: 4 kB / 0.5493 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.003566, allocations: 7.984 kB / 0.5493 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.681e-05/0.003613, allocations: 20.94 kB / 0.5493 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.003615, allocations: 0 / 0.5493 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.009e-05/0.003675, allocations: 41.69 kB / 0.5494 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.003686, allocations: 6.5 kB / 0.5494 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.00369, allocations: 0 / 0.5494 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.0037, allocations: 0 / 0.5494 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.003745, allocations: 4 kB / 0.5494 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.003753, allocations: 15.89 kB / 0.5494 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.003768, allocations: 4 kB / 0.5494 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.003774, allocations: 3.984 kB / 0.5494 GB, free: 7.488 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 4.391e-05/0.003818, allocations: 105.8 kB / 0.5495 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-06/0.003821, allocations: 0 / 0.5495 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.003846, allocations: 3 kB / 0.5495 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.003848, allocations: 7.984 kB / 0.5495 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.003853, allocations: 3.938 kB / 0.5495 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.003855, allocations: 0 / 0.5495 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.392e-05/0.003909, allocations: 124.8 kB / 0.5496 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.003909, allocations: 0 / 0.5496 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.003931, allocations: 7.938 kB / 0.5496 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.003932, allocations: 0 / 0.5496 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.003937, allocations: 0 / 0.5496 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.003938, allocations: 0 / 0.5496 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.00394, allocations: 7.922 kB / 0.5496 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.349e-05/0.004014, allocations: 61.12 kB / 0.5497 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-06/0.004017, allocations: 3.938 kB / 0.5497 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-06/0.004025, allocations: 8.031 kB / 0.5497 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.004036, allocations: 3.938 kB / 0.5497 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.00405, allocations: 7.922 kB / 0.5497 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.004052, allocations: 0 / 0.5497 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.167e-05/0.004073, allocations: 83.28 kB / 0.5498 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.004073, allocations: 0 / 0.5498 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001145/0.004188, allocations: 0 / 0.5498 GB, free: 6.996 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002514/0.004439, allocations: 0.5929 MB / 0.5504 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.409e-05/0.004533, allocations: 23.95 kB / 0.5504 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.004535, allocations: 0 / 0.5504 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/0.004552, allocations: 4 kB / 0.5504 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.85e-05/0.00465, allocations: 7.938 kB / 0.5504 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.004914, allocations: 102.6 kB / 0.5505 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.631e-05/0.00495, allocations: 59.34 kB / 0.5506 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.004974, allocations: 4.125 kB / 0.5506 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.004999, allocations: 8.5 kB / 0.5506 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.004999, allocations: 4 kB / 0.5506 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.01753, allocations: 1.594 MB / 0.5521 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/6.769, allocations: 11.92 kB / 0.5521 GB, free: 4.633 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.202435359358788] Failed to read output from testmodel.py, exit status != 0: 6.846091538667679 6.853409898 6.849664225 Calling exit ...