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.00171/0.00171, allocations: 84.39 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002096/0.002096, allocations: 165.7 kB / 23.55 MB, free: 0.8906 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.46/1.46, allocations: 177.2 MB / 203.9 MB, free: 5.57 MB / 186.7 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.9192/0.9192, allocations: 110.3 MB / 370.6 MB, free: 12.44 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: 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.683e-06/1.683e-06, allocations: 0 / 474.5 MB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.614e-05, allocations: 4.703 kB / 474.5 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002494/0.00252, allocations: 1.788 MB / 476.3 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003683, allocations: 0.5483 MB / 476.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.003806, allocations: 7.5 kB / 476.8 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.00398, allocations: 21.3 kB / 476.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/0.004069, allocations: 28.89 kB / 476.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.004283, allocations: 70.3 kB / 476.9 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.004483, allocations: 175.1 kB / 477.1 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.004615, allocations: 41.69 kB / 477.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.004724, allocations: 75.45 kB / 477.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.00479, allocations: 46.11 kB / 477.3 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.00482, allocations: 11.09 kB / 477.3 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.057e-05/0.004841, allocations: 10.16 kB / 477.3 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.004874, allocations: 32.31 kB / 477.3 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.004931, allocations: 36.33 kB / 477.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.005121, allocations: 140.3 kB / 477.5 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005123, allocations: 3.938 kB / 477.5 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005124, allocations: 3.281 kB / 477.5 MB, free: 13.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.005129, allocations: 0 / 477.5 MB, free: 13.27 MB / 410.7 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.0006703/0.0058, allocations: 423.7 kB / 477.9 MB, free: 12.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.005836, allocations: 11.16 kB / 477.9 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/0.005904, allocations: 31.11 kB / 477.9 MB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.006145, allocations: 182.4 kB / 478.1 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.006163, allocations: 11.06 kB / 478.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.006199, allocations: 12.84 kB / 478.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.006468, allocations: 152.9 kB / 478.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.006478, allocations: 192 / 478.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.006496, allocations: 7.188 kB / 478.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.006503, allocations: 7.688 kB / 478.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.006717, allocations: 66.33 kB / 478.4 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.00778, allocations: 0.6646 MB / 479 MB, free: 28.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.007941, allocations: 46.95 kB / 479.1 MB, free: 27.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.008046, allocations: 27.14 kB / 479.1 MB, free: 27.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.008073, allocations: 6.047 kB / 479.1 MB, free: 27.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.00828, allocations: 118.1 kB / 479.2 MB, free: 27.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.008281, allocations: 0.5312 kB / 479.2 MB, free: 27.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004873/0.008768, allocations: 172.3 kB / 479.4 MB, free: 27.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.008816, allocations: 137.4 kB / 479.5 MB, free: 27.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.00901, allocations: 184.8 kB / 479.7 MB, free: 27.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.009027, allocations: 32.52 kB / 479.7 MB, free: 27.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.009126, allocations: 130.9 kB / 479.9 MB, free: 27.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.009157, allocations: 42.59 kB / 479.9 MB, free: 27.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.009212, allocations: 46.11 kB / 480 MB, free: 27.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.009395, allocations: 327.3 kB / 480.3 MB, free: 26.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.009516, allocations: 38.34 kB / 480.3 MB, free: 26.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.009666, allocations: 144.4 kB / 480.5 MB, free: 26.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.009946, allocations: 205 kB / 480.7 MB, free: 26.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.00995, allocations: 3.188 kB / 480.7 MB, free: 26.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003695/0.01032, allocations: 221.5 kB / 480.9 MB, free: 26.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01034, allocations: 9.516 kB / 480.9 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01034, allocations: 3.219 kB / 480.9 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.01037, allocations: 6.062 kB / 480.9 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.01049, allocations: 29.42 kB / 480.9 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.0105, allocations: 8.094 kB / 480.9 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.01064, allocations: 28.69 kB / 481 MB, free: 26.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.01066, allocations: 14.91 kB / 481 MB, free: 26.51 MB / 426.7 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.0001449/0.0108, allocations: 130.5 kB / 481.1 MB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.01084, allocations: 24.84 kB / 481.1 MB, free: 26.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.01088, allocations: 20.25 kB / 481.1 MB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01088, allocations: 4.281 kB / 481.2 MB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01088, allocations: 256 / 481.2 MB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01089, allocations: 11.09 kB / 481.2 MB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006754/0.01156, allocations: 448.9 kB / 481.6 MB, free: 26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01157, allocations: 0 / 481.6 MB, free: 26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.01168, allocations: 18.12 kB / 481.6 MB, free: 26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01168, allocations: 4.125 kB / 481.6 MB, free: 26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.0117, allocations: 7.906 kB / 481.6 MB, free: 26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.0117, allocations: 0.8125 kB / 481.6 MB, free: 26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.0117, allocations: 3.938 kB / 481.6 MB, free: 26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.01222, allocations: 367.4 kB / 482 MB, free: 25.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.01224, allocations: 13.38 kB / 482 MB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.01227, allocations: 6.953 kB / 482 MB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.01244, allocations: 12.92 kB / 482 MB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.0125, allocations: 16.59 kB / 482 MB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.01251, allocations: 10.16 kB / 482.1 MB, free: 25.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.01261, allocations: 130.1 kB / 482.2 MB, free: 25.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01261, allocations: 0.9688 kB / 482.2 MB, free: 25.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.01296, allocations: 29.22 kB / 482.2 MB, free: 25.61 MB / 426.7 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.0001209/0.01308, allocations: 110.2 kB / 482.3 MB, free: 25.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.01338, allocations: 111.3 kB / 482.4 MB, free: 25.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01339, allocations: 0 / 482.4 MB, free: 25.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.01352, allocations: 56 kB / 482.5 MB, free: 25.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.01411, allocations: 73.78 kB / 482.6 MB, free: 25.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.01465, allocations: 335.2 kB / 482.9 MB, free: 25.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.903e-05/0.01474, allocations: 110.1 kB / 483 MB, free: 25.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.748e-05/0.01481, allocations: 16.97 kB / 483 MB, free: 25.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.01486, allocations: 19.16 kB / 483 MB, free: 25.1 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01486, allocations: 5.344 kB / 483 MB, free: 25.1 MB / 426.7 MB Notification: Performance of Templates: time 0.005379/0.02024, allocations: 2.154 MB / 485.2 MB, free: 24.92 MB / 426.7 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.4216669499874115]