Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001476/0.001476, allocations: 104.9 kB / 16.36 MB, free: 6.305 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.001718/0.001719, allocations: 189.3 kB / 17.29 MB, free: 5.875 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.643/1.643, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.829/1.829, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001652/0.001652, allocations: 67.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2946, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003212/0.2979, allocations: 1.441 MB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008969/0.2988, allocations: 375.6 kB / 0.7865 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.2988, allocations: 0 / 0.7865 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/0.2989, allocations: 7.922 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.299, allocations: 7.922 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.2994, allocations: 115.4 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.823e-05/0.2995, allocations: 27.86 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2997, allocations: 11.94 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.2997, allocations: 8 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.2998, allocations: 7.922 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2998, allocations: 4 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.3002, allocations: 279.6 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.3002, allocations: 4 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.3003, allocations: 11.94 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3005, allocations: 111.8 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3005, allocations: 4 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3005, allocations: 0 / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.3005, allocations: 0 / 0.7871 GB, free: 0.7422 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006219/0.3011, allocations: 363.4 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3012, allocations: 11.97 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.3013, allocations: 4.938 kB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3014, allocations: 168.2 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3014, allocations: 4.375 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3015, allocations: 384 / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3017, allocations: 54.23 kB / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3017, allocations: 192 / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3017, allocations: 3.938 kB / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.3017, allocations: 0 / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.3019, allocations: 35.95 kB / 0.7877 GB, free: 16 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4842/0.7861, allocations: 244.2 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.7863, allocations: 44.34 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.559e-05/0.7864, allocations: 24.05 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006089/0.787, allocations: 464.3 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.7871, allocations: 34.59 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.275e-06/0.7871, allocations: 0 / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003763/0.7875, allocations: 83.64 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.7875, allocations: 54.28 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.7876, allocations: 105.8 kB / 0.7887 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.7876, allocations: 25.7 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.7876, allocations: 89.25 kB / 0.7889 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.7876, allocations: 7.406 kB / 0.7889 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.7877, allocations: 13.78 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.7877, allocations: 319 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.7878, allocations: 17.75 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.7879, allocations: 20.3 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.788, allocations: 39.05 kB / 0.7893 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.788, allocations: 0.9375 kB / 0.7893 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002048/0.7883, allocations: 70.78 kB / 0.7893 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7883, allocations: 9.188 kB / 0.7893 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.7883, allocations: 3.844 kB / 0.7893 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7883, allocations: 0 / 0.7893 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.7884, allocations: 12.2 kB / 0.7893 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.7884, allocations: 0 / 0.7893 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.7885, allocations: 9.766 kB / 0.7894 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.7885, allocations: 0.5938 kB / 0.7894 GB, free: 47.44 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 (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 4.862e-05/0.7885, allocations: 117.2 kB / 0.7895 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.7886, allocations: 7.844 kB / 0.7895 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.7888, allocations: 73.52 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7888, allocations: 1.75 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7888, allocations: 0 / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.7888, allocations: 1.625 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.7889, allocations: 161.9 kB / 0.7897 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.789, allocations: 0 / 0.7897 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/0.789, allocations: 5.25 kB / 0.7897 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.789, allocations: 4.438 kB / 0.7897 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.789, allocations: 11.41 kB / 0.7897 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.789, allocations: 2 kB / 0.7897 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.789, allocations: 0 / 0.7897 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.7893, allocations: 161.4 kB / 0.7899 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.7893, allocations: 86.86 kB / 0.79 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.7893, allocations: 0 / 0.79 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.7894, allocations: 6.781 kB / 0.79 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.7894, allocations: 2.906 kB / 0.79 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.7894, allocations: 0.5312 kB / 0.79 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.466e-05/0.7895, allocations: 91.53 kB / 0.7901 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7895, allocations: 0 / 0.7901 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002297/0.7897, allocations: 16.06 kB / 0.7901 GB, free: 46.79 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 (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.0001533/0.7899, allocations: 116 kB / 0.7902 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.7901, allocations: 40.48 kB / 0.7902 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7901, allocations: 1.031 kB / 0.7902 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.7902, allocations: 20.61 kB / 0.7902 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.7904, allocations: 4.375 kB / 0.7902 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.7907, allocations: 128.2 kB / 0.7904 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.7908, allocations: 0.6809 MB / 0.791 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.7909, allocations: 8.812 kB / 0.791 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of SimCode: time 1.483e-06/0.7909, allocations: 2.688 kB / 0.791 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.002148/0.793, allocations: 0.6979 MB / 0.7917 GB, free: 45.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)