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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.002305/0.002305, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.466/3.466, allocations: 205.4 MB / 222.1 MB, free: 5.523 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 3.147/3.147, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0011/0.0011, allocations: 16.81 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.558, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001473/0.5596, allocations: 313.9 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.5608, allocations: 305 kB / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.5608, allocations: 0 / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.5608, allocations: 0 / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.317e-05/0.5609, allocations: 0 / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.5615, allocations: 66.66 kB / 0.7879 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.128e-05/0.5616, allocations: 4 kB / 0.7879 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.5617, allocations: 3.938 kB / 0.7879 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.5618, allocations: 4 kB / 0.7879 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.5618, allocations: 7.984 kB / 0.7879 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.5619, allocations: 0 / 0.7879 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006946/0.5626, allocations: 259.6 kB / 0.7882 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.5626, allocations: 0 / 0.7882 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.5627, allocations: 25.7 kB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.5629, allocations: 51.91 kB / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5629, allocations: 0 / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.89e-06/0.5629, allocations: 0 / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.5629, allocations: 0 / 0.7882 GB, free: 10.82 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006286/0.5636, allocations: 331.4 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.591e-05/0.5637, allocations: 12.03 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.475e-05/0.5638, allocations: 30.56 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.5639, allocations: 0 / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.5642, allocations: 171 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.5642, allocations: 3.938 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.5642, allocations: 0 / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.5644, allocations: 33.62 kB / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5644, allocations: 0 / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.5645, allocations: 0 / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5645, allocations: 4 kB / 0.7888 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.474e-05/0.5645, allocations: 4 kB / 0.7888 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.5648, allocations: 149.6 kB / 0.7889 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.775e-05/0.5649, allocations: 18.61 kB / 0.789 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009862/0.5659, allocations: 425.6 kB / 0.7894 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.566, allocations: 42.48 kB / 0.7894 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 4.879e-06/0.566, allocations: 0 / 0.7894 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002953/0.5663, allocations: 33.64 kB / 0.7894 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.5664, allocations: 51.41 kB / 0.7895 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.5665, allocations: 89.86 kB / 0.7896 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.5665, allocations: 25.7 kB / 0.7896 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.5666, allocations: 84.14 kB / 0.7897 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.5667, allocations: 7.906 kB / 0.7897 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.5667, allocations: 4.125 kB / 0.7897 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002748/0.567, allocations: 310.8 kB / 0.79 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.567, allocations: 0 / 0.79 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-06/0.567, allocations: 0 / 0.79 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.567, allocations: 7.984 kB / 0.79 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.567, allocations: 0 / 0.79 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001181/0.5672, allocations: 37.59 kB / 0.79 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.5672, allocations: 8 kB / 0.79 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5672, allocations: 4.094 kB / 0.79 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.5673, allocations: 0 / 0.79 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.5674, allocations: 0 / 0.79 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5674, allocations: 0 / 0.79 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.5674, allocations: 0 / 0.79 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.5674, allocations: 4 kB / 0.79 GB, free: 8.652 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.5676, allocations: 113.8 kB / 0.7902 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.5676, allocations: 3.953 kB / 0.7902 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.5678, allocations: 41.05 kB / 0.7902 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.5679, allocations: 7.984 kB / 0.7902 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5679, allocations: 0 / 0.7902 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5679, allocations: 0 / 0.7902 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.5681, allocations: 145.7 kB / 0.7903 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5681, allocations: 4 kB / 0.7903 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.765e-05/0.5682, allocations: 4 kB / 0.7903 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5682, allocations: 3.953 kB / 0.7904 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.5682, allocations: 3.938 kB / 0.7904 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5682, allocations: 0 / 0.7904 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5682, allocations: 0 / 0.7904 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.5684, allocations: 65.16 kB / 0.7904 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.5685, allocations: 84.98 kB / 0.7905 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.5685, allocations: 3.953 kB / 0.7905 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.5685, allocations: 0 / 0.7905 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.5686, allocations: 3.938 kB / 0.7905 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.5686, allocations: 0 / 0.7905 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.751e-05/0.5687, allocations: 84.52 kB / 0.7906 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5687, allocations: 0 / 0.7906 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003439/0.569, allocations: 16 kB / 0.7906 GB, free: 7.973 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009953/0.57, allocations: 0.6008 MB / 0.7912 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.5702, allocations: 8.016 kB / 0.7912 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5702, allocations: 4.062 kB / 0.7912 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/0.5702, allocations: 7.938 kB / 0.7912 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.5704, allocations: 7.891 kB / 0.7912 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.571, allocations: 104.4 kB / 0.7913 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.5716, allocations: 0.6731 MB / 0.792 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.5716, allocations: 4 kB / 0.792 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.5716, allocations: 7.438 kB / 0.792 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/0.5717, allocations: 4.062 kB / 0.792 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.5932, allocations: 0.9776 MB / 0.7929 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004302/0.5938, allocations: 193.9 kB / 0.7931 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.326/3.92, allocations: 0 / 0.7931 GB, free: 5.371 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: