Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001171/0.001171, allocations: 108 kB / 15.61 MB, free: 152 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.001239/0.001239, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 62.88 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3085, 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.00243/0.311, allocations: 1.449 MB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006801/0.3117, allocations: 382.7 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.3118, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.3118, allocations: 3.938 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.3118, allocations: 7.984 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.3123, allocations: 123.5 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.3123, allocations: 31.86 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.698e-05/0.3124, allocations: 4 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.331e-05/0.3125, allocations: 11.98 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.3125, allocations: 15.86 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3126, allocations: 4 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.3129, allocations: 275.7 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.3129, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.313, allocations: 15.92 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.3132, allocations: 103.8 kB / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3132, allocations: 0 / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3132, allocations: 0 / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3132, allocations: 3.984 kB / 1.071 GB, free: 8.008 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.0004316/0.3136, allocations: 359.7 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3137, allocations: 12.03 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.3137, allocations: 4.938 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.3138, allocations: 168.3 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3138, allocations: 384 / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3139, allocations: 4.359 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.314, allocations: 46.25 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3141, allocations: 192 / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3141, allocations: 7.875 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3141, allocations: 7.922 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.3143, allocations: 39.97 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.3146, allocations: 245 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3148, allocations: 42.5 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.3149, allocations: 20.91 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007059/0.3156, allocations: 461.5 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3156, allocations: 34.5 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3156, allocations: 4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003768/0.316, allocations: 81.64 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.316, allocations: 55.41 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.3161, allocations: 101.8 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3162, allocations: 29.7 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.3162, allocations: 84.14 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.3162, allocations: 11.97 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.3163, allocations: 17.72 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3164, allocations: 314.8 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.3165, allocations: 11.98 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.596e-05/0.3166, allocations: 19.98 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3167, allocations: 48.81 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3168, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/0.317, allocations: 73.52 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.317, allocations: 5.875 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.317, allocations: 0 / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.317, allocations: 0 / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.3171, allocations: 16.17 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3171, allocations: 0 / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.3172, allocations: 16.02 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3172, allocations: 0 / 1.073 GB, free: 5.395 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 6.329e-05/0.3173, allocations: 109.8 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.3173, allocations: 4 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.3175, allocations: 77.12 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3175, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3176, allocations: 4.031 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3176, allocations: 7.922 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.3177, allocations: 161.6 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3177, allocations: 4 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.3178, allocations: 7.984 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3178, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3178, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3178, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3178, allocations: 4 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.3181, allocations: 175.4 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.3181, allocations: 81.02 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3181, allocations: 0 / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.3182, allocations: 7.984 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.3183, allocations: 4 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3183, allocations: 4 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.3183, allocations: 87.3 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3183, allocations: 0 / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002277/0.3186, allocations: 16 kB / 1.073 GB, free: 4.551 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.0001568/0.3187, allocations: 107.8 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3189, allocations: 39.95 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.319, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.319, allocations: 27.98 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3193, allocations: 3.938 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.3196, allocations: 109.5 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.3198, allocations: 0.6807 MB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.3198, allocations: 0 / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.3198, allocations: 11.5 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3198, allocations: 0 / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of Templates: time 0.00268/0.3225, allocations: 0.7211 MB / 1.075 GB, free: 2.797 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)