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.002387/0.002387, allocations: 91.67 kB / 20.24 MB, free: 4.184 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.003049/0.003049, allocations: 165.3 kB / 23.55 MB, free: 0.8711 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.607/1.607, allocations: 177.1 MB / 203.9 MB, free: 5.625 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.9868/0.9868, allocations: 110.3 MB / 370.6 MB, free: 12.47 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 178] 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 2.385e-06/2.385e-06, allocations: 0 / 474.5 MB, free: 15.19 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.161e-05/4.399e-05, allocations: 3.844 kB / 474.5 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003431/0.003474, allocations: 1.804 MB / 476.3 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.004644, allocations: 0.5565 MB / 476.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.004775, allocations: 6.562 kB / 476.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.004972, allocations: 23.86 kB / 476.9 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.529e-05/0.005058, allocations: 30.3 kB / 476.9 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.005317, allocations: 68.23 kB / 477 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.005575, allocations: 178.1 kB / 477.1 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.005744, allocations: 41.3 kB / 477.2 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.005889, allocations: 78.59 kB / 477.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.005967, allocations: 46.67 kB / 477.3 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.006006, allocations: 11.16 kB / 477.3 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.599e-05/0.006032, allocations: 10.5 kB / 477.3 MB, free: 13.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.006071, allocations: 25.17 kB / 477.3 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.006135, allocations: 42.83 kB / 477.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.006353, allocations: 140.7 kB / 477.5 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.006356, allocations: 0 / 477.5 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006357, allocations: 2.625 kB / 477.5 MB, free: 13.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.006364, 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.0007882/0.007153, allocations: 0.5243 MB / 478 MB, free: 12.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.007209, allocations: 11.11 kB / 478.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.007304, allocations: 32.55 kB / 478.1 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.007617, allocations: 178.2 kB / 478.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.007636, allocations: 9.625 kB / 478.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.007675, allocations: 19.59 kB / 478.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.007957, allocations: 150.6 kB / 478.4 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.007972, allocations: 4.438 kB / 478.4 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.007993, allocations: 7.656 kB / 478.4 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.008002, allocations: 12.94 kB / 478.5 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.008175, allocations: 55.02 kB / 478.5 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.009606, allocations: 0.9225 MB / 479.4 MB, free: 27.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.009735, allocations: 47.23 kB / 479.5 MB, free: 27.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.526e-05/0.00981, allocations: 36.23 kB / 479.5 MB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.009834, allocations: 0 / 479.5 MB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.01003, allocations: 134.6 kB / 479.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.01003, allocations: 0 / 479.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004439/0.01047, allocations: 152.2 kB / 479.8 MB, free: 27.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.01053, allocations: 142 kB / 479.9 MB, free: 27.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.01076, allocations: 265.8 kB / 480.2 MB, free: 26.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.01078, allocations: 32.58 kB / 480.2 MB, free: 26.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.01092, allocations: 180 kB / 480.4 MB, free: 26.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.01095, allocations: 42 kB / 480.4 MB, free: 26.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.01101, allocations: 50.97 kB / 480.5 MB, free: 26.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000322/0.01134, allocations: 0.5026 MB / 481 MB, free: 26.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.279e-05/0.01143, allocations: 30.95 kB / 481 MB, free: 26.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.0116, allocations: 192.1 kB / 481.2 MB, free: 26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.01184, allocations: 244.3 kB / 481.5 MB, free: 25.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01185, allocations: 0 / 481.5 MB, free: 25.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003145/0.01216, allocations: 208.4 kB / 481.7 MB, free: 25.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01218, allocations: 5.719 kB / 481.7 MB, free: 25.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.01219, allocations: 11.59 kB / 481.7 MB, free: 25.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.01222, allocations: 8.969 kB / 481.7 MB, free: 25.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.01234, allocations: 31.56 kB / 481.7 MB, free: 25.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.01235, allocations: 9.156 kB / 481.7 MB, free: 25.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.01246, allocations: 22.91 kB / 481.7 MB, free: 25.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.01248, allocations: 18.09 kB / 481.8 MB, free: 25.62 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.000162/0.01264, allocations: 177.5 kB / 481.9 MB, free: 25.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.01268, allocations: 24.91 kB / 482 MB, free: 25.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.01273, allocations: 19.77 kB / 482 MB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01273, allocations: 3.812 kB / 482 MB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.01274, allocations: 2.844 kB / 482 MB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01275, allocations: 0.5 kB / 482 MB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007241/0.01347, allocations: 0.5412 MB / 482.5 MB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01347, allocations: 0 / 482.5 MB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.655e-05/0.01357, allocations: 19.45 kB / 482.5 MB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01357, allocations: 2.906 kB / 482.5 MB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01359, allocations: 1.875 kB / 482.5 MB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01359, allocations: 2.906 kB / 482.6 MB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01359, allocations: 0 / 482.6 MB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.01414, allocations: 454.4 kB / 483 MB, free: 24.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.01417, allocations: 16.75 kB / 483 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.0142, allocations: 7.938 kB / 483 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.01434, allocations: 9.188 kB / 483 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.01441, allocations: 14.34 kB / 483 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.01442, allocations: 6.203 kB / 483 MB, free: 24.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.01456, allocations: 181.1 kB / 483.2 MB, free: 24.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01457, allocations: 0 / 483.2 MB, free: 24.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.01488, allocations: 31.97 kB / 483.3 MB, free: 24.41 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.000149/0.01502, allocations: 110 kB / 483.4 MB, free: 24.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.01533, allocations: 111.9 kB / 483.5 MB, free: 24.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01533, allocations: 3.938 kB / 483.5 MB, free: 24.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01544, allocations: 53.11 kB / 483.5 MB, free: 24.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.01603, allocations: 78.12 kB / 483.6 MB, free: 24.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/0.01671, allocations: 349 kB / 483.9 MB, free: 23.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.01684, allocations: 107.7 kB / 484.1 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.968e-05/0.01692, allocations: 22.66 kB / 484.1 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.01699, allocations: 22.5 kB / 484.1 MB, free: 23.86 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01699, allocations: 1.812 kB / 484.1 MB, free: 23.86 MB / 426.7 MB Notification: Performance of Templates: time 0.007086/0.02408, allocations: 2.149 MB / 486.2 MB, free: 23.7 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.165312880999409]