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.0009607/0.0009608, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006222/0.006222, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.481/1.481, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.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.691/1.691, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0007784/0.0007784, allocations: 16.47 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2126, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001615/0.2142, allocations: 1.164 MB / 0.789 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007162/0.215, allocations: 392.8 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.215, allocations: 4 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.215, allocations: 7.938 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.2151, allocations: 0 / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.2155, allocations: 79.78 kB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.582e-05/0.2155, allocations: 23.92 kB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.305e-05/0.2156, allocations: 4 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.2157, allocations: 11.97 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.2157, allocations: 15.94 kB / 0.7895 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.2157, allocations: 3.938 kB / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.2161, allocations: 275.6 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.2162, allocations: 0 / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.2162, allocations: 41.62 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.2164, allocations: 107.8 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2164, allocations: 0 / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2164, allocations: 0 / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2164, allocations: 0 / 0.7899 GB, free: 9.457 MB / 0.6075 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.0004333/0.2169, allocations: 363.7 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2169, allocations: 12.03 kB / 0.7903 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.217, allocations: 0.9375 kB / 0.7903 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.745e-05/0.2171, allocations: 172.2 kB / 0.7905 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2171, allocations: 4.312 kB / 0.7905 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.2171, allocations: 384 / 0.7905 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.2173, allocations: 58.23 kB / 0.7905 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.2174, allocations: 192 / 0.7905 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2174, allocations: 7.938 kB / 0.7905 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2174, allocations: 0 / 0.7905 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.2176, allocations: 47.89 kB / 0.7906 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.2179, allocations: 253 kB / 0.7908 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.218, allocations: 46.5 kB / 0.7909 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2182, allocations: 32.91 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006489/0.2188, allocations: 457.5 kB / 0.7913 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.2188, allocations: 34.56 kB / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2188, allocations: 0 / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000382/0.2192, allocations: 105.7 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.2193, allocations: 51.41 kB / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.306e-05/0.2193, allocations: 105.8 kB / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.2194, allocations: 25.7 kB / 0.7916 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2194, allocations: 88.14 kB / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.2194, allocations: 7.844 kB / 0.7917 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.2195, allocations: 9.719 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.2196, allocations: 318.8 kB / 0.792 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.2197, allocations: 24.02 kB / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.2197, allocations: 23.98 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2199, allocations: 52.83 kB / 0.7921 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2199, allocations: 0 / 0.7921 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002208/0.2202, allocations: 81.5 kB / 0.7922 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2202, allocations: 12.03 kB / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2202, allocations: 0 / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.2202, allocations: 0 / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.2203, allocations: 11.98 kB / 0.7922 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2203, allocations: 0 / 0.7922 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.2204, allocations: 11.98 kB / 0.7922 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.2204, allocations: 4 kB / 0.7922 GB, free: 6.766 MB / 0.6075 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.783e-05/0.2205, allocations: 117.7 kB / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.2205, allocations: 7.984 kB / 0.7924 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.2207, allocations: 89.11 kB / 0.7925 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2208, allocations: 0 / 0.7925 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2208, allocations: 4.031 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.2208, allocations: 0 / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.2209, allocations: 165.6 kB / 0.7926 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2209, allocations: 256 / 0.7926 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.221, allocations: 11.98 kB / 0.7926 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.221, allocations: 7.938 kB / 0.7926 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.221, allocations: 0 / 0.7926 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.221, allocations: 0 / 0.7926 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.221, allocations: 4 kB / 0.7926 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.2213, allocations: 179.4 kB / 0.7928 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.2213, allocations: 81.02 kB / 0.7929 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.2214, allocations: 4 kB / 0.7929 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.2214, allocations: 12.02 kB / 0.7929 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.2215, allocations: 4 kB / 0.7929 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2215, allocations: 0 / 0.7929 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.238e-05/0.2215, allocations: 87.27 kB / 0.793 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2215, allocations: 0 / 0.793 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002327/0.2218, allocations: 16 kB / 0.793 GB, free: 5.887 MB / 0.6075 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.0001549/0.2219, allocations: 103.2 kB / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.2222, allocations: 55.95 kB / 0.7932 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2222, allocations: 0 / 0.7932 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-05/0.2223, allocations: 27.98 kB / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.2225, allocations: 10.75 kB / 0.7932 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.2228, allocations: 123.4 kB / 0.7933 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.223, allocations: 0.677 MB / 0.794 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.223, allocations: 4 kB / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.2231, allocations: 7.438 kB / 0.794 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.2231, allocations: 4.062 kB / 0.794 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of Templates: time 0.002492/0.2256, allocations: 0.6372 MB / 0.7946 GB, free: 4.191 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: