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.0008834/0.0008834, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009114/0.0009114, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 222.1 MB, free: 5.633 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 2.007/2.007, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005568/0.000557, allocations: 14.69 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2809, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007376/0.2817, allocations: 323.5 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005975/0.2824, allocations: 303.2 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.2824, allocations: 0 / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.115e-05/0.2824, allocations: 0 / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.2824, allocations: 0 / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.2829, allocations: 75.84 kB / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.686e-05/0.2829, allocations: 0 / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.2829, allocations: 0 / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.648e-05/0.283, allocations: 4 kB / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.53e-05/0.283, allocations: 0 / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.283, allocations: 0 / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.2834, allocations: 267.6 kB / 0.7883 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.715e-06/0.2834, allocations: 3.984 kB / 0.7883 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.2835, allocations: 25.7 kB / 0.7884 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.2836, allocations: 59.91 kB / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2836, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2836, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2836, allocations: 0 / 0.7884 GB, free: 10.77 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.0003236/0.284, allocations: 327.4 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.284, allocations: 12.03 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.2841, allocations: 34.55 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.2841, allocations: 0 / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2843, allocations: 163 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2843, allocations: 0 / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-06/0.2843, allocations: 4 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.794e-05/0.2844, allocations: 37.69 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2844, allocations: 4 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.2844, allocations: 0 / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.2844, allocations: 0 / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.412e-05/0.2845, allocations: 7.875 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.2846, allocations: 153.6 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.103e-05/0.2847, allocations: 14.58 kB / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.2847, allocations: 12.86 kB / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/0.2853, allocations: 421.6 kB / 0.7896 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.2853, allocations: 30.56 kB / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.2853, allocations: 4 kB / 0.7896 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.2855, allocations: 41.64 kB / 0.7896 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.2855, allocations: 55.39 kB / 0.7897 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.679e-05/0.2856, allocations: 89.86 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2856, allocations: 25.7 kB / 0.7898 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.2856, allocations: 80.14 kB / 0.7899 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.2857, allocations: 3.906 kB / 0.7899 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.2857, allocations: 0 / 0.7899 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2858, allocations: 318.8 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.2858, allocations: 4.125 kB / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-06/0.2858, allocations: 0 / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.137e-05/0.2859, allocations: 8 kB / 0.7902 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2859, allocations: 0 / 0.7902 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.022e-05/0.286, allocations: 37.59 kB / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.286, allocations: 7.984 kB / 0.7902 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.286, allocations: 0 / 0.7902 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.286, allocations: 4 kB / 0.7902 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/0.2861, allocations: 0 / 0.7902 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2861, allocations: 96 / 0.7902 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.2861, allocations: 4 kB / 0.7903 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2861, allocations: 0 / 0.7903 GB, free: 8.59 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 7.383e-05/0.2862, allocations: 109.8 kB / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.2862, allocations: 3.953 kB / 0.7904 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.572e-05/0.2863, allocations: 41.09 kB / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2863, allocations: 0 / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2863, allocations: 3.938 kB / 0.7904 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2863, allocations: 8.031 kB / 0.7904 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2865, allocations: 141.7 kB / 0.7905 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2865, allocations: 3.938 kB / 0.7905 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.2865, allocations: 0 / 0.7905 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2865, allocations: 7.938 kB / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.2865, allocations: 4 kB / 0.7906 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2865, allocations: 0 / 0.7906 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2865, allocations: 0 / 0.7906 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.875e-05/0.2866, allocations: 57.14 kB / 0.7906 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.2867, allocations: 85.05 kB / 0.7907 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.2867, allocations: 7.938 kB / 0.7907 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.2867, allocations: 0 / 0.7907 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.2867, allocations: 0 / 0.7907 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.2867, allocations: 0 / 0.7907 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.2867, allocations: 75.28 kB / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2868, allocations: 0 / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002072/0.287, allocations: 16 kB / 0.7908 GB, free: 7.93 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.000435/0.2874, allocations: 0.6057 MB / 0.7914 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.967e-05/0.2875, allocations: 4 kB / 0.7914 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2875, allocations: 0 / 0.7914 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.005e-06/0.2875, allocations: 3.938 kB / 0.7914 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.2876, allocations: 20.05 kB / 0.7914 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.2879, allocations: 108.4 kB / 0.7915 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.2882, allocations: 0.6692 MB / 0.7922 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.2882, allocations: 0 / 0.7922 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.2882, allocations: 7.438 kB / 0.7922 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2882, allocations: 3.938 kB / 0.7922 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.3007, allocations: 1.003 MB / 0.7932 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/0.301, allocations: 197.2 kB / 0.7933 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.015, allocations: 0 / 0.7933 GB, free: 5.305 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: