Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 192.1 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.2 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.14 kB / 0.6708 GB, free: 26.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2264, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002843/0.2293, allocations: 1.881 MB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.2301, allocations: 0.5697 MB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.46e-05/0.2302, allocations: 4 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2304, allocations: 23.78 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.679e-05/0.2305, allocations: 15.86 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.2306, allocations: 59.88 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.2308, allocations: 163.5 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.231, allocations: 49.66 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.2311, allocations: 51.72 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.2311, allocations: 51.7 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.2312, allocations: 8 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.2312, allocations: 4 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.2312, allocations: 31.78 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.2313, allocations: 63.55 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.2315, allocations: 123.8 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2315, allocations: 0 / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2315, allocations: 0 / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2315, allocations: 4 kB / 0.7857 GB, free: 10.88 MB / 0.6075 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.0007047/0.2322, allocations: 474.7 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2322, allocations: 8.031 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.2323, allocations: 24.73 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.2325, allocations: 227.9 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2325, allocations: 8.312 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.2326, allocations: 12.38 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.2329, allocations: 157.3 kB / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2329, allocations: 0 / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2329, allocations: 4 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2329, allocations: 4 kB / 0.7866 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.2332, allocations: 71.89 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.234, allocations: 0.7469 MB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.2342, allocations: 42.55 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2343, allocations: 32.84 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2343, allocations: 7.984 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.2346, allocations: 122.7 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.655e-06/0.2346, allocations: 0 / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004566/0.235, allocations: 165.3 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.2351, allocations: 140.7 kB / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.2353, allocations: 207.4 kB / 0.788 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2353, allocations: 25.7 kB / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.2354, allocations: 131.9 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.2355, allocations: 35.7 kB / 0.7882 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.2355, allocations: 41.61 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2356, allocations: 330.8 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.2358, allocations: 43.97 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.2359, allocations: 145.3 kB / 0.7888 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.2362, allocations: 206.5 kB / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2363, allocations: 0 / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003643/0.2366, allocations: 209.2 kB / 0.7892 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2366, allocations: 4 kB / 0.7892 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2367, allocations: 4 kB / 0.7892 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2367, allocations: 8 kB / 0.7892 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.2368, allocations: 36.16 kB / 0.7892 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2368, allocations: 8 kB / 0.7892 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.237, allocations: 32.17 kB / 0.7892 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.237, allocations: 15.94 kB / 0.7893 GB, free: 6.82 MB / 0.6075 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 (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.0001014/0.2371, allocations: 134.3 kB / 0.7894 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.2371, allocations: 19.81 kB / 0.7894 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.2372, allocations: 21.39 kB / 0.7894 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2372, allocations: 0 / 0.7894 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2372, allocations: 4 kB / 0.7894 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2372, allocations: 0 / 0.7894 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.2379, allocations: 0.5131 MB / 0.7899 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2379, allocations: 4 kB / 0.7899 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.238, allocations: 19.98 kB / 0.79 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.238, allocations: 0 / 0.79 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.238, allocations: 7.984 kB / 0.79 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2381, allocations: 0 / 0.79 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2381, allocations: 7.938 kB / 0.79 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.2385, allocations: 356.2 kB / 0.7903 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.2386, allocations: 96.83 kB / 0.7904 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.2386, allocations: 4 kB / 0.7904 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.2388, allocations: 12.03 kB / 0.7904 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.2388, allocations: 23.91 kB / 0.7904 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2389, allocations: 4 kB / 0.7904 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.708e-05/0.239, allocations: 136.6 kB / 0.7906 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.239, allocations: 0 / 0.7906 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003224/0.2393, allocations: 28 kB / 0.7906 GB, free: 5.336 MB / 0.6075 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 (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.0001097/0.2394, allocations: 115.1 kB / 0.7907 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.2397, allocations: 111.8 kB / 0.7908 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2397, allocations: 1 kB / 0.7908 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.2399, allocations: 52.03 kB / 0.7909 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.2404, allocations: 65.3 kB / 0.7909 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.241, allocations: 390.5 kB / 0.7913 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.2413, allocations: 0.7284 MB / 0.792 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.042e-05/0.2414, allocations: 17.53 kB / 0.792 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.2415, allocations: 15.44 kB / 0.7921 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2415, allocations: 7.938 kB / 0.7921 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of Templates: time 0.004347/0.2458, allocations: 1.803 MB / 0.7938 GB, free: 2.008 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)