Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.001409/0.001409, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001764/0.001764, allocations: 161.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.9659/0.9659, allocations: 110.3 MB / 369.4 MB, free: 1.18 MB / 334.1 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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5478 GB, free: 9.836 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.324e-05, allocations: 2.281 kB / 0.5478 GB, free: 9.832 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003047/0.003071, allocations: 1.784 MB / 0.5495 GB, free: 8.043 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.004191, allocations: 0.5527 MB / 0.5501 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.004305, allocations: 3.938 kB / 0.5501 GB, free: 7.484 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.004452, allocations: 27.67 kB / 0.5501 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.192e-05/0.004534, allocations: 34.5 kB / 0.5501 GB, free: 7.426 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.004748, allocations: 67.91 kB / 0.5502 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.004996, allocations: 171.4 kB / 0.5503 GB, free: 7.191 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.005139, allocations: 41.7 kB / 0.5504 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.00528, allocations: 79.8 kB / 0.5505 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.489e-05/0.005355, allocations: 39.83 kB / 0.5505 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.005383, allocations: 8 kB / 0.5505 GB, free: 7.027 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.431e-05/0.005408, allocations: 12 kB / 0.5505 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.005445, allocations: 27.91 kB / 0.5505 GB, free: 6.988 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.005508, allocations: 43.84 kB / 0.5506 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.005715, allocations: 139.4 kB / 0.5507 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005717, allocations: 0 / 0.5507 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005718, allocations: 4 kB / 0.5507 GB, free: 6.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005723, allocations: 0 / 0.5507 GB, free: 6.805 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000819/0.006542, allocations: 435.1 kB / 0.5511 GB, free: 6.344 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.00658, allocations: 8.031 kB / 0.5512 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.006636, allocations: 16.84 kB / 0.5512 GB, free: 6.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.006961, allocations: 177.4 kB / 0.5513 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.00698, allocations: 8.375 kB / 0.5513 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.007018, allocations: 12.38 kB / 0.5514 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.007374, allocations: 155.1 kB / 0.5515 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.007387, allocations: 192 / 0.5515 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.007409, allocations: 12.3 kB / 0.5515 GB, free: 5.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.007419, allocations: 7.938 kB / 0.5515 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.007671, allocations: 71.84 kB / 0.5516 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009892/0.008661, allocations: 0.6492 MB / 0.5522 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.008827, allocations: 46.56 kB / 0.5523 GB, free: 5.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.00895, allocations: 32.98 kB / 0.5523 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.008973, allocations: 7.984 kB / 0.5523 GB, free: 5.047 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.009229, allocations: 122.9 kB / 0.5524 GB, free: 4.902 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.00923, allocations: 4 kB / 0.5524 GB, free: 4.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005529/0.009783, allocations: 165.6 kB / 0.5526 GB, free: 4.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.009903, allocations: 140.4 kB / 0.5527 GB, free: 4.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.01012, allocations: 183.4 kB / 0.5529 GB, free: 4.375 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.01016, allocations: 33.7 kB / 0.5529 GB, free: 4.336 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.0103, allocations: 131.9 kB / 0.5531 GB, free: 4.203 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.01035, allocations: 27.75 kB / 0.5531 GB, free: 4.176 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.01044, allocations: 45.66 kB / 0.5531 GB, free: 4.125 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.01067, allocations: 330.8 kB / 0.5534 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.01081, allocations: 35.97 kB / 0.5535 GB, free: 3.758 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.01105, allocations: 146.6 kB / 0.5536 GB, free: 3.562 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.01146, allocations: 202.2 kB / 0.5538 GB, free: 3.312 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.01147, allocations: 4.234 kB / 0.5538 GB, free: 3.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004616/0.01193, allocations: 205.1 kB / 0.554 GB, free: 3.102 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.01195, allocations: 8 kB / 0.554 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.01196, allocations: 8 kB / 0.554 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.01198, allocations: 4 kB / 0.554 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.01213, allocations: 44.41 kB / 0.5541 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.01214, allocations: 8 kB / 0.5541 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.01229, allocations: 27.81 kB / 0.5541 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.01231, allocations: 12 kB / 0.5541 GB, free: 2.992 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001283/0.01244, allocations: 132.6 kB / 0.5542 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.01247, allocations: 19.84 kB / 0.5543 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.01252, allocations: 25.45 kB / 0.5543 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01252, allocations: 0 / 0.5543 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01253, allocations: 0 / 0.5543 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.01253, allocations: 4 kB / 0.5543 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007626/0.0133, allocations: 461.2 kB / 0.5547 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.0133, allocations: 4 kB / 0.5547 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.01342, allocations: 15.98 kB / 0.5547 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01342, allocations: 0 / 0.5547 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.01344, allocations: 8 kB / 0.5548 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01344, allocations: 0 / 0.5548 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01344, allocations: 0 / 0.5548 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005629/0.01401, allocations: 360.2 kB / 0.5551 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.01404, allocations: 19.88 kB / 0.5551 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.01407, allocations: 8 kB / 0.5551 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.01425, allocations: 11.98 kB / 0.5551 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.0143, allocations: 12.36 kB / 0.5551 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01431, allocations: 4 kB / 0.5552 GB, free: 1.863 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.01443, allocations: 131.2 kB / 0.5553 GB, free: 1.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01443, allocations: 0 / 0.5553 GB, free: 1.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.01478, allocations: 35.95 kB / 0.5553 GB, free: 1.699 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001288/0.01491, allocations: 111.1 kB / 0.5554 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.01527, allocations: 116.5 kB / 0.5555 GB, free: 1.469 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01527, allocations: 256 / 0.5555 GB, free: 1.469 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.01543, allocations: 51.91 kB / 0.5556 GB, free: 1.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.01602, allocations: 71.52 kB / 0.5556 GB, free: 1.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.01664, allocations: 320.6 kB / 0.556 GB, free: 1.004 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.01676, allocations: 112.4 kB / 0.5561 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.083e-05/0.01683, allocations: 17.42 kB / 0.5561 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.01688, allocations: 20.5 kB / 0.5561 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01688, allocations: 0 / 0.5561 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of Templates: time 0.006429/0.02331, allocations: 2.122 MB / 0.5582 GB, free: 14.79 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.601973332464695] Failed to read output from testmodel.py, exit status != 0: 0.03339767828583717 0.050569941 0.041242847 Calling exit ...