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.001166/0.001166, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001526/0.001526, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.6 MB / 0.7447 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.56 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3512, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002685/0.354, allocations: 1.493 MB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008459/0.3548, allocations: 414.8 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.3549, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.3549, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.355, allocations: 7.938 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.3553, allocations: 83.22 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.287e-05/0.3554, allocations: 23.86 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.3555, allocations: 8 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.3556, allocations: 7.984 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.3556, allocations: 15.92 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3556, allocations: 0 / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.356, allocations: 271.7 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.3561, allocations: 8 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.3561, allocations: 15.91 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.3563, allocations: 99.78 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3563, allocations: 0 / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3563, allocations: 0 / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3563, allocations: 0 / 1.07 GB, free: 8.527 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.0005436/0.3569, allocations: 367.7 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3569, allocations: 8.031 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.357, allocations: 12.81 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.3572, allocations: 168.3 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3572, allocations: 384 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3572, allocations: 4.375 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.3574, allocations: 50.23 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3574, allocations: 4.172 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3574, allocations: 3.938 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3575, allocations: 0 / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.3576, allocations: 39.95 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.358, allocations: 256.9 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3582, allocations: 38.5 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.3583, allocations: 20.91 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007335/0.359, allocations: 465.5 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3591, allocations: 30.56 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3591, allocations: 3.938 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003737/0.3595, allocations: 89.58 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.3595, allocations: 51.41 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.3596, allocations: 105.8 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3596, allocations: 25.7 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.3597, allocations: 84.14 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3597, allocations: 11.84 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.3597, allocations: 13.84 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3598, allocations: 318.8 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.3599, allocations: 15.98 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.36, allocations: 19.98 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.3602, allocations: 36.88 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3602, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.3604, allocations: 73.45 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3604, allocations: 9.562 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3604, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3604, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/0.3605, allocations: 11.98 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3605, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.3606, allocations: 12.02 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3606, allocations: 3.938 kB / 1.072 GB, free: 5.898 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 8.337e-05/0.3607, allocations: 113.8 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.3607, allocations: 4 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.361, allocations: 77.11 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.361, allocations: 4 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.361, allocations: 0 / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.361, allocations: 4.031 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.3612, allocations: 165.6 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3612, allocations: 0 / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.3613, allocations: 11.98 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3613, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.3613, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3613, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3613, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.3616, allocations: 171.7 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.3616, allocations: 81.02 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3616, allocations: 4 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.3617, allocations: 7.984 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.3618, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3618, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.3618, allocations: 95.2 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3618, allocations: 4.031 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002326/0.3621, allocations: 19.94 kB / 1.073 GB, free: 5.047 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.0002026/0.3623, allocations: 103.2 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.3625, allocations: 35.95 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3625, allocations: 4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.3626, allocations: 20.05 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.363, allocations: 7.938 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.3633, allocations: 119.2 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3636, allocations: 0.6809 MB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.3636, allocations: 0 / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.3636, allocations: 7.438 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3636, allocations: 4.062 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of Templates: time 0.00292/0.3666, allocations: 0.6497 MB / 1.074 GB, free: 3.359 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)