Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.0008195/0.0008194, allocations: 86.25 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.0008421/0.0008423, 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.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.892/1.892, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005512/0.0005513, allocations: 20.94 kB / 0.6738 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2863, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0008127/0.2872, allocations: 323.6 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006514/0.2879, allocations: 327.2 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.2879, allocations: 0 / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.2879, allocations: 4 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.314e-05/0.288, allocations: 0 / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.2883, allocations: 75.84 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.512e-05/0.2884, allocations: 4 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.2884, allocations: 3.984 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.2885, allocations: 7.938 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.2885, allocations: 4 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2885, allocations: 0 / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.2889, allocations: 267.7 kB / 0.7884 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.2889, allocations: 3.984 kB / 0.7884 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.289, allocations: 25.7 kB / 0.7884 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.2891, allocations: 59.89 kB / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2891, allocations: 8 kB / 0.7885 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2891, allocations: 0 / 0.7885 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2891, allocations: 0 / 0.7885 GB, free: 10.74 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003785/0.2895, allocations: 331.4 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.2896, allocations: 8.031 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.2896, allocations: 34.5 kB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.2897, allocations: 7.906 kB / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.2898, allocations: 167.3 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2899, allocations: 4 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.2899, allocations: 11.94 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.697e-05/0.29, allocations: 29.7 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.29, allocations: 0 / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.29, allocations: 0 / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.29, allocations: 3.938 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.2901, allocations: 7.984 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.2902, allocations: 153.6 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.621e-05/0.2903, allocations: 42.52 kB / 0.7893 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.2903, allocations: 4.859 kB / 0.7893 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007353/0.2911, allocations: 461.5 kB / 0.7897 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2911, allocations: 30.56 kB / 0.7897 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2911, allocations: 0 / 0.7897 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005397/0.2917, allocations: 250.4 kB / 0.79 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.2917, allocations: 51.41 kB / 0.79 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.2918, allocations: 98.08 kB / 0.7901 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2918, allocations: 25.7 kB / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.2919, allocations: 84.14 kB / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.2919, allocations: 11.81 kB / 0.7902 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.2919, allocations: 0 / 0.7902 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.292, allocations: 318.8 kB / 0.7905 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.2921, allocations: 4 kB / 0.7905 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.2921, allocations: 17.66 kB / 0.7905 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.2921, allocations: 16.08 kB / 0.7906 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2921, allocations: 0 / 0.7906 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.972e-05/0.2922, allocations: 49.69 kB / 0.7906 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2923, allocations: 8 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2923, allocations: 0 / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2923, allocations: 0 / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.2924, allocations: 11.94 kB / 0.7906 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2924, allocations: 3.984 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.2924, allocations: 0 / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.2924, allocations: 4.062 kB / 0.7906 GB, free: 8.168 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.844e-05/0.2925, allocations: 118.5 kB / 0.7907 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.2925, allocations: 0 / 0.7907 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.2927, allocations: 57.03 kB / 0.7908 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2927, allocations: 0 / 0.7908 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2927, allocations: 0 / 0.7908 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2927, allocations: 7.938 kB / 0.7908 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.2928, allocations: 157.7 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2928, allocations: 3.953 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.2929, allocations: 7.984 kB / 0.791 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2929, allocations: 3.938 kB / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2929, allocations: 0 / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2929, allocations: 4 kB / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2929, allocations: 0 / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.2931, allocations: 77.12 kB / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.2931, allocations: 85.12 kB / 0.7911 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.2932, allocations: 3.984 kB / 0.7911 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.349e-05/0.2932, allocations: 0 / 0.7911 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.2932, allocations: 4.031 kB / 0.7911 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2932, allocations: 0 / 0.7911 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.56e-05/0.2933, allocations: 79.28 kB / 0.7912 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2933, allocations: 7.938 kB / 0.7912 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002035/0.2935, allocations: 20 kB / 0.7912 GB, free: 7.434 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0005537/0.2941, allocations: 0.6479 MB / 0.7919 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.391e-05/0.2941, allocations: 19.94 kB / 0.7919 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2942, allocations: 0 / 0.7919 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.2942, allocations: 11.98 kB / 0.7919 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.2943, allocations: 2.438 kB / 0.7919 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.2949, allocations: 372.8 kB / 0.7923 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.2952, allocations: 0.677 MB / 0.7929 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.2952, allocations: 4.062 kB / 0.7929 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.2953, allocations: 11.44 kB / 0.7929 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2953, allocations: 7.938 kB / 0.793 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.307, allocations: 1.531 MB / 0.7944 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.3072, allocations: 205.3 kB / 0.7946 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.091, allocations: 3.797 kB / 0.7946 GB, free: 4.008 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: