Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 115.3 kB / 16.37 MB, free: 6 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.001493/0.001493, allocations: 188.1 kB / 17.3 MB, free: 5.617 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.609/1.609, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.861/1.861, allocations: 292.3 MB / 0.5496 GB, free: 17.74 MB / 462.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.002403/0.002403, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2899, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002002/0.292, allocations: 0.5782 MB / 0.7854 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006925/0.2927, allocations: 326.8 kB / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.2927, allocations: 0 / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.2927, allocations: 0 / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.2928, allocations: 0 / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.2932, allocations: 99.7 kB / 0.7858 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.2933, allocations: 7.984 kB / 0.7858 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.2933, allocations: 3.938 kB / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.2934, allocations: 8 kB / 0.7858 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.487e-05/0.2934, allocations: 7.938 kB / 0.7858 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2934, allocations: 3.938 kB / 0.7858 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.2938, allocations: 267.7 kB / 0.7861 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.2938, allocations: 3.984 kB / 0.7861 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.2939, allocations: 0 / 0.7861 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.294, allocations: 87.84 kB / 0.7862 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2941, allocations: 0 / 0.7862 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2941, allocations: 0 / 0.7862 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2941, allocations: 0 / 0.7862 GB, free: 1.805 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003569/0.2944, allocations: 339.6 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2945, allocations: 8.031 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.2945, allocations: 4.938 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.827e-05/0.2946, allocations: 160.4 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2947, allocations: 384 / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.2947, allocations: 384 / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.278e-05/0.2948, allocations: 30.2 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2948, allocations: 4.188 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2948, allocations: 3.938 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2948, allocations: 4 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.2948, allocations: 3.938 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.295, allocations: 149.7 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.295, allocations: 18.61 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.2951, allocations: 4.859 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/0.2956, allocations: 433.5 kB / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2956, allocations: 34.56 kB / 0.7873 GB, free: 384 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2956, allocations: 0 / 0.7873 GB, free: 384 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001693/0.2958, allocations: 45.56 kB / 0.7873 GB, free: 332 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2958, allocations: 55.41 kB / 0.7874 GB, free: 264 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.745e-05/0.2959, allocations: 89.86 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2959, allocations: 25.7 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.2959, allocations: 84.27 kB / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.296, allocations: 0 / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.296, allocations: 13.72 kB / 0.7876 GB, free: 24 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.5129/0.809, allocations: 310.8 kB / 0.7879 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.809, allocations: 0 / 0.7879 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.8091, allocations: 0 / 0.7879 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.8091, allocations: 10.89 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8091, allocations: 1.25 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001067/0.8092, allocations: 35.12 kB / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.8093, allocations: 4.156 kB / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.8093, allocations: 4.656 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.8093, allocations: 3.75 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.8094, allocations: 7.656 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8094, allocations: 0 / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.8094, allocations: 2.812 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.8094, allocations: 3.438 kB / 0.788 GB, free: 48.42 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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 5.732e-05/0.8095, allocations: 107.2 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.8095, allocations: 0.875 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.8096, allocations: 42.81 kB / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.8096, allocations: 8.375 kB / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.8096, allocations: 3.938 kB / 0.7881 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8097, allocations: 1.688 kB / 0.7881 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.547e-05/0.8097, allocations: 145.6 kB / 0.7883 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8097, allocations: 1.688 kB / 0.7883 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.8098, allocations: 1.906 kB / 0.7883 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8098, allocations: 3.281 kB / 0.7883 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.8098, allocations: 2.188 kB / 0.7883 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8098, allocations: 0 / 0.7883 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.8098, allocations: 6.562 kB / 0.7883 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.39e-05/0.8099, allocations: 56.89 kB / 0.7883 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.8099, allocations: 80.95 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.8099, allocations: 2.625 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.8099, allocations: 2.016 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.8099, allocations: 3.938 kB / 0.7884 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.81, allocations: 0 / 0.7884 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.46e-05/0.81, allocations: 75.88 kB / 0.7885 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.81, allocations: 4.25 kB / 0.7885 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002327/0.8102, allocations: 11.62 kB / 0.7885 GB, free: 47.85 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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.000175/0.8104, allocations: 114.4 kB / 0.7886 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.43e-05/0.8105, allocations: 7.938 kB / 0.7886 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8105, allocations: 3.219 kB / 0.7886 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.8105, allocations: 2.016 kB / 0.7886 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.8106, allocations: 3.609 kB / 0.7886 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001306/0.8108, allocations: 98.56 kB / 0.7887 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.8109, allocations: 0.6718 MB / 0.7894 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-06/0.8109, allocations: 9.5 kB / 0.7894 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.8109, allocations: 0.5312 kB / 0.7894 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.001622/0.8125, allocations: 474 kB / 0.7898 GB, free: 46.95 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)