Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.565/2.565, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 180.2 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.457/2.457, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009468/0.0009465, allocations: 90.89 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004894, allocations: 11.88 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2117, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002294/0.214, allocations: 1.491 MB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2154, allocations: 0.5583 MB / 0.901 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.2156, allocations: 0 / 0.901 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.2157, allocations: 19.8 kB / 0.9011 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.153e-05/0.2158, allocations: 23.8 kB / 0.9011 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.2161, allocations: 51.86 kB / 0.9011 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.2163, allocations: 155.5 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2165, allocations: 49.83 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.061e-05/0.2166, allocations: 35.8 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.582e-05/0.2167, allocations: 51.64 kB / 0.9014 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.2167, allocations: 7.938 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.358e-05/0.2168, allocations: 4 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.2168, allocations: 15.92 kB / 0.9014 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.2169, allocations: 53.64 kB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.217, allocations: 91.98 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.217, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.217, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.2171, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 GB 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.0008404/0.2179, allocations: 458.9 kB / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.218, allocations: 8.031 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.2181, allocations: 16.75 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.2184, allocations: 231.9 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.2184, allocations: 8.375 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.2185, allocations: 12.38 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.219, allocations: 154.8 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.219, allocations: 0 / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.219, allocations: 4 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.219, allocations: 4 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.2194, allocations: 87.83 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.2207, allocations: 0.7392 MB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.221, allocations: 58.48 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.2212, allocations: 40.83 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.2212, allocations: 4 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004449/0.2217, allocations: 134.7 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 3.256e-06/0.2217, allocations: 0 / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0009829/0.2227, allocations: 181.5 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.2228, allocations: 132.5 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.223, allocations: 202.8 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.2231, allocations: 29.7 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.2231, allocations: 123.9 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.2232, allocations: 35.69 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.2232, allocations: 4 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.2233, allocations: 330.8 kB / 0.9045 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.2235, allocations: 47.97 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.2238, allocations: 148.2 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.224, allocations: 63.92 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.224, allocations: 7.984 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006091/0.2247, allocations: 213.3 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2247, allocations: 8 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2247, allocations: 4 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.2247, allocations: 4 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.225, allocations: 43.91 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.225, allocations: 7.938 kB / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.2252, allocations: 32.27 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2253, allocations: 12 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.2254, allocations: 141.1 kB / 0.9052 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.2255, allocations: 15.81 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.2255, allocations: 25.39 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2256, allocations: 4 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2256, allocations: 0 / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.2256, allocations: 4 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.2268, allocations: 0.5288 MB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2268, allocations: 0 / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.227, allocations: 23.98 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2271, allocations: 3.938 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.2271, allocations: 4 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2271, allocations: 3.984 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2271, allocations: 7.938 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.2278, allocations: 372.2 kB / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.2279, allocations: 100.9 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.2279, allocations: 0 / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.2282, allocations: 15.98 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.2283, allocations: 16.3 kB / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.2283, allocations: 7.984 kB / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001284/0.2285, allocations: 148.2 kB / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2285, allocations: 4 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004247/0.2289, allocations: 24 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001171/0.229, allocations: 107.2 kB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004954/0.2295, allocations: 132 kB / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2296, allocations: 0 / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.2298, allocations: 55.91 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008053/0.2306, allocations: 60.75 kB / 0.9068 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007115/0.2314, allocations: 378.9 kB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.2316, allocations: 0.7245 MB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.2317, allocations: 21.55 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.2317, allocations: 15.44 kB / 0.9079 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/0.2318, allocations: 0 / 0.9079 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.006482/0.2382, allocations: 1.749 MB / 0.9096 GB, free: 54.12 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)