Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009503/0.0009503, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007553/0.007553, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.704/1.704, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.674/1.674, allocations: 252 MB / 0.5105 GB, free: 4.613 MB / 414.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.00057/0.0005702, allocations: 12 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6078/0.6084, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001986/0.6104, allocations: 1.195 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004824/0.6109, allocations: 228.2 kB / 0.7301 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.611, allocations: 0 / 0.7301 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.611, allocations: 11.88 kB / 0.7301 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.124e-05/0.6111, allocations: 3.938 kB / 0.7301 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.6113, allocations: 23.92 kB / 0.7302 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.459e-05/0.6114, allocations: 59.91 kB / 0.7302 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.6116, allocations: 20.16 kB / 0.7302 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.514e-05/0.6117, allocations: 23.86 kB / 0.7303 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.6117, allocations: 27.86 kB / 0.7303 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.6117, allocations: 0 / 0.7303 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.6118, allocations: 4 kB / 0.7303 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.6118, allocations: 15.92 kB / 0.7303 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.6119, allocations: 49.56 kB / 0.7304 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.612, allocations: 59.75 kB / 0.7304 GB, free: 9.523 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.612, allocations: 4 kB / 0.7304 GB, free: 9.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.013e-06/0.612, allocations: 0 / 0.7304 GB, free: 9.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.612, allocations: 0 / 0.7304 GB, free: 9.52 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006186/0.6126, allocations: 392.7 kB / 0.7308 GB, free: 9.094 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6127, allocations: 12.03 kB / 0.7308 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.6127, allocations: 8.844 kB / 0.7308 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.6129, allocations: 176.2 kB / 0.731 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.6129, allocations: 4.359 kB / 0.731 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.6129, allocations: 8.375 kB / 0.731 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.6131, allocations: 82.16 kB / 0.7311 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.6132, allocations: 3.938 kB / 0.7311 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.6132, allocations: 4 kB / 0.7311 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6132, allocations: 4 kB / 0.7311 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.6134, allocations: 59.95 kB / 0.7311 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.6139, allocations: 316.6 kB / 0.7314 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.6141, allocations: 66.55 kB / 0.7315 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.6142, allocations: 40.95 kB / 0.7315 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.6142, allocations: 0 / 0.7315 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.6145, allocations: 91.31 kB / 0.7316 GB, free: 8.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.6145, allocations: 0 / 0.7316 GB, free: 8.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004524/0.6149, allocations: 157.5 kB / 0.7318 GB, free: 7.957 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.615, allocations: 59.39 kB / 0.7318 GB, free: 7.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.6151, allocations: 113.8 kB / 0.7319 GB, free: 7.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.6151, allocations: 25.7 kB / 0.732 GB, free: 7.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.6152, allocations: 99.94 kB / 0.7321 GB, free: 7.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.6152, allocations: 27.69 kB / 0.7321 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.6153, allocations: 13.72 kB / 0.7321 GB, free: 7.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6154, allocations: 326.8 kB / 0.7324 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.6155, allocations: 39.98 kB / 0.7324 GB, free: 7.219 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.6157, allocations: 72.25 kB / 0.7325 GB, free: 7.133 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.6159, allocations: 108.2 kB / 0.7326 GB, free: 7.012 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6159, allocations: 4.375 kB / 0.7326 GB, free: 7.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002751/0.6162, allocations: 125.5 kB / 0.7327 GB, free: 6.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6162, allocations: 8 kB / 0.7328 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6162, allocations: 4.125 kB / 0.7328 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.6162, allocations: 7.938 kB / 0.7328 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.6164, allocations: 19.92 kB / 0.7328 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6164, allocations: 4 kB / 0.7328 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.6165, allocations: 23.92 kB / 0.7328 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.6165, allocations: 3.938 kB / 0.7328 GB, free: 6.809 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,$whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.606e-05/0.6166, allocations: 125.8 kB / 0.7329 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.6166, allocations: 11.84 kB / 0.7329 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.617, allocations: 122 kB / 0.7331 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.617, allocations: 0 / 0.7331 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.617, allocations: 4 kB / 0.7331 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.617, allocations: 0 / 0.7331 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.6175, allocations: 406.4 kB / 0.7335 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6175, allocations: 4 kB / 0.7335 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.6176, allocations: 11.98 kB / 0.7335 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6176, allocations: 0 / 0.7335 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.6176, allocations: 4 kB / 0.7335 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.6176, allocations: 7.938 kB / 0.7335 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6176, allocations: 3.984 kB / 0.7335 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.618, allocations: 219.9 kB / 0.7337 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.618, allocations: 88.94 kB / 0.7338 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.618, allocations: 4 kB / 0.7338 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.6181, allocations: 19.92 kB / 0.7338 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.6182, allocations: 11.98 kB / 0.7338 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.6182, allocations: 4 kB / 0.7338 GB, free: 5.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.776e-05/0.6183, allocations: 91.27 kB / 0.7339 GB, free: 5.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6183, allocations: 0 / 0.7339 GB, free: 5.586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002231/0.6185, allocations: 16 kB / 0.7339 GB, free: 5.57 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001078/0.6186, allocations: 95.25 kB / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.6189, allocations: 95.86 kB / 0.7341 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6189, allocations: 0 / 0.7341 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.619, allocations: 47.86 kB / 0.7341 GB, free: 5.328 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.6193, allocations: 28.48 kB / 0.7342 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.6197, allocations: 191.2 kB / 0.7344 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.6199, allocations: 0.6926 MB / 0.735 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.62, allocations: 4 kB / 0.735 GB, free: 4.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.62, allocations: 11.44 kB / 0.735 GB, free: 4.355 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.62, allocations: 0 / 0.735 GB, free: 4.355 MB / 0.545 GB Notification: Performance of Templates: time 0.003168/0.6232, allocations: 0.794 MB / 0.7358 GB, free: 3.566 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1) Environment - environmentSimulation: