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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7729/0.7729, allocations: 128.7 MB / 144.5 MB, free: 1.395 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001704/0.001704, allocations: 177.3 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205 MB / 408.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 107.7 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001196, allocations: 58.41 kB / 0.558 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1925, allocations: 75.47 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003246/0.1958, allocations: 1.866 MB / 0.6335 GB, free: 31.15 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.1967, allocations: 0.5811 MB / 0.6341 GB, free: 30.56 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1968, allocations: 0 / 0.6341 GB, free: 30.56 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.197, allocations: 27.8 kB / 0.6341 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.1971, allocations: 15.84 kB / 0.6341 GB, free: 30.52 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1973, allocations: 67.88 kB / 0.6342 GB, free: 30.45 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1975, allocations: 155.5 kB / 0.6343 GB, free: 30.3 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1977, allocations: 45.66 kB / 0.6344 GB, free: 30.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.1978, allocations: 55.72 kB / 0.6344 GB, free: 30.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.1978, allocations: 59.62 kB / 0.6345 GB, free: 30.14 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.1979, allocations: 8 kB / 0.6345 GB, free: 30.13 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.789e-05/0.1979, allocations: 7.938 kB / 0.6345 GB, free: 30.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.1979, allocations: 23.86 kB / 0.6345 GB, free: 30.1 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.198, allocations: 67.53 kB / 0.6346 GB, free: 30.04 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1982, allocations: 119.8 kB / 0.6347 GB, free: 29.92 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1982, allocations: 4 kB / 0.6347 GB, free: 29.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1982, allocations: 4 kB / 0.6347 GB, free: 29.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1982, allocations: 0 / 0.6347 GB, free: 29.91 MB / 442.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.0007192/0.1989, allocations: 478.6 kB / 0.6352 GB, free: 29.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.199, allocations: 8.031 kB / 0.6352 GB, free: 29.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.199, allocations: 20.75 kB / 0.6352 GB, free: 29.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1993, allocations: 231.8 kB / 0.6354 GB, free: 29.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1993, allocations: 8.375 kB / 0.6354 GB, free: 29.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.1993, allocations: 16.38 kB / 0.6354 GB, free: 29.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.1996, allocations: 153 kB / 0.6356 GB, free: 28.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1997, allocations: 0 / 0.6356 GB, free: 28.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1997, allocations: 4 kB / 0.6356 GB, free: 28.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1997, allocations: 0 / 0.6356 GB, free: 28.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.1999, allocations: 83.81 kB / 0.6357 GB, free: 28.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.2007, allocations: 0.7393 MB / 0.6364 GB, free: 28.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.2009, allocations: 38.56 kB / 0.6364 GB, free: 27.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.201, allocations: 36.83 kB / 0.6364 GB, free: 27.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.201, allocations: 4 kB / 0.6365 GB, free: 27.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.2013, allocations: 130.6 kB / 0.6366 GB, free: 27.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.2013, allocations: 0 / 0.6366 GB, free: 27.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004552/0.2018, allocations: 161.6 kB / 0.6367 GB, free: 27.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.2018, allocations: 140.5 kB / 0.6369 GB, free: 27.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.202, allocations: 195 kB / 0.637 GB, free: 27.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.202, allocations: 29.7 kB / 0.6371 GB, free: 27.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.2021, allocations: 131.8 kB / 0.6372 GB, free: 27.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.2021, allocations: 39.69 kB / 0.6372 GB, free: 27.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.2022, allocations: 37.7 kB / 0.6373 GB, free: 27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.2022, allocations: 326.8 kB / 0.6376 GB, free: 26.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2024, allocations: 43.97 kB / 0.6376 GB, free: 26.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2025, allocations: 146.7 kB / 0.6378 GB, free: 26.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.2028, allocations: 202.3 kB / 0.638 GB, free: 26.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2028, allocations: 4 kB / 0.638 GB, free: 26.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003441/0.2031, allocations: 217 kB / 0.6382 GB, free: 25.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2031, allocations: 4 kB / 0.6382 GB, free: 25.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2032, allocations: 4 kB / 0.6382 GB, free: 25.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2032, allocations: 8 kB / 0.6382 GB, free: 25.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2033, allocations: 31.92 kB / 0.6382 GB, free: 25.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2033, allocations: 4 kB / 0.6382 GB, free: 25.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2035, allocations: 36.17 kB / 0.6383 GB, free: 25.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2035, allocations: 11.98 kB / 0.6383 GB, free: 25.86 MB / 442.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 9.986e-05/0.2036, allocations: 137.7 kB / 0.6384 GB, free: 25.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.2036, allocations: 19.81 kB / 0.6384 GB, free: 25.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.2037, allocations: 21.39 kB / 0.6384 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2037, allocations: 4 kB / 0.6384 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2037, allocations: 0 / 0.6384 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2037, allocations: 0 / 0.6384 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.2043, allocations: 0.5209 MB / 0.639 GB, free: 25.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2043, allocations: 4 kB / 0.639 GB, free: 25.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.2044, allocations: 15.98 kB / 0.639 GB, free: 25.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2044, allocations: 0 / 0.639 GB, free: 25.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.2045, allocations: 8 kB / 0.639 GB, free: 25.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2045, allocations: 4 kB / 0.639 GB, free: 25.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2045, allocations: 3.938 kB / 0.639 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.2056, allocations: 1.357 MB / 0.6403 GB, free: 23.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.2057, allocations: 96.83 kB / 0.6404 GB, free: 23.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.2057, allocations: 7.938 kB / 0.6404 GB, free: 23.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.2059, allocations: 12.03 kB / 0.6404 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.206, allocations: 23.97 kB / 0.6404 GB, free: 23.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2061, allocations: 4 kB / 0.6405 GB, free: 23.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.124e-05/0.2062, allocations: 140.4 kB / 0.6406 GB, free: 23.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2062, allocations: 0 / 0.6406 GB, free: 23.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.2065, allocations: 39.94 kB / 0.6406 GB, free: 23.22 MB / 442.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.0001288/0.2067, allocations: 108.5 kB / 0.6407 GB, free: 23.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.207, allocations: 115.8 kB / 0.6408 GB, free: 22.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.207, allocations: 0 / 0.6408 GB, free: 22.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.2071, allocations: 47.91 kB / 0.6409 GB, free: 22.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.2077, allocations: 67.75 kB / 0.6409 GB, free: 22.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.2083, allocations: 0.5202 MB / 0.6415 GB, free: 22.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.2085, allocations: 0.7284 MB / 0.6422 GB, free: 21.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.933e-05/0.2086, allocations: 17.67 kB / 0.6422 GB, free: 21.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.2086, allocations: 19.44 kB / 0.6422 GB, free: 21.52 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2086, allocations: 0 / 0.6422 GB, free: 21.52 MB / 442.7 MB Notification: Performance of Templates: time 0.004353/0.213, allocations: 1.96 MB / 0.6441 GB, free: 19.59 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (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)