Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 195 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 66.28 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3285, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002715/0.3312, allocations: 1.441 MB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007215/0.332, allocations: 382.8 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.332, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.3321, allocations: 3.938 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.3321, allocations: 7.938 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.3326, allocations: 119.5 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.074e-05/0.3327, allocations: 23.92 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.3328, allocations: 7.984 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.3329, allocations: 15.92 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.3329, allocations: 15.92 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.3329, allocations: 0 / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.3333, allocations: 287.6 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.3334, allocations: 0 / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.3334, allocations: 11.92 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3336, allocations: 103.8 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3336, allocations: 4 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3336, allocations: 0 / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3336, allocations: 0 / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004768/0.3341, allocations: 363.7 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3342, allocations: 8.031 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.3342, allocations: 4.938 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3344, allocations: 176.2 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3344, allocations: 4.375 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.3344, allocations: 384 / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3346, allocations: 50.23 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3346, allocations: 192 / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3346, allocations: 7.938 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3346, allocations: 0 / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.3348, allocations: 35.95 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.3352, allocations: 249 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.3354, allocations: 46.38 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.277e-05/0.3355, allocations: 24.91 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.3362, allocations: 457.5 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3362, allocations: 38.56 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.3362, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003881/0.3366, allocations: 85.64 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3367, allocations: 55.34 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.227e-05/0.3368, allocations: 105.8 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3368, allocations: 25.7 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.3369, allocations: 80.14 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.3369, allocations: 11.84 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.3369, allocations: 17.84 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.337, allocations: 314.8 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.3371, allocations: 19.98 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.3372, allocations: 11.98 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.3374, allocations: 48.88 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3374, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002308/0.3376, allocations: 73.45 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3377, allocations: 4 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3377, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3377, allocations: 4 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.3378, allocations: 7.984 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3378, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.3379, allocations: 15.95 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3379, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.802e-05/0.338, allocations: 117.8 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.338, allocations: 3.984 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.3383, allocations: 69.19 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3383, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3383, allocations: 4.031 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3383, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.3385, allocations: 169.6 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3385, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.3385, allocations: 12.17 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3385, allocations: 7.938 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3386, allocations: 4 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3386, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3386, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3389, allocations: 167.5 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.3389, allocations: 81.02 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3389, allocations: 4 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.339, allocations: 7.984 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.339, allocations: 0 / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3391, allocations: 0 / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.3391, allocations: 87.3 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3391, allocations: 4 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00024/0.3394, allocations: 16 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001762/0.3395, allocations: 115.7 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.3398, allocations: 35.95 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3398, allocations: 0 / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.3399, allocations: 24.05 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3402, allocations: 9.5 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.3405, allocations: 109.5 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3407, allocations: 0.6768 MB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.3408, allocations: 0 / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.3408, allocations: 19.38 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3408, allocations: 4.062 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of Templates: time 0.003029/0.3439, allocations: 0.7146 MB / 1.075 GB, free: 2.801 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)