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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.531/1.531, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.846/1.846, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001432/0.001432, allocations: 72.31 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.265, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002058/0.2671, allocations: 0.5979 MB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007923/0.2679, allocations: 338.8 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.268, allocations: 0 / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.268, allocations: 3.938 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.025e-05/0.268, allocations: 0 / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.2686, allocations: 115.6 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.2687, allocations: 11.98 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.2687, allocations: 3.938 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.2688, allocations: 15.92 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.2689, allocations: 0 / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.2689, allocations: 0 / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.2694, allocations: 275.6 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.2694, allocations: 0 / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.2694, allocations: 7.938 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.2697, allocations: 95.83 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2697, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2697, allocations: 4 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.2697, allocations: 0 / 0.7849 GB, free: 11.95 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.0005431/0.2703, allocations: 335.9 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.2703, allocations: 8.031 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.2704, allocations: 34.75 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.2705, allocations: 4.844 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.2707, allocations: 164.3 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2707, allocations: 384 / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.2707, allocations: 8.375 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.2709, allocations: 42.19 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2709, allocations: 3.938 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2709, allocations: 0 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.2709, allocations: 3.938 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.203e-05/0.271, allocations: 4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.2712, allocations: 153.7 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.534e-05/0.2713, allocations: 18.58 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.2713, allocations: 12.86 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008572/0.2722, allocations: 457.5 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.2722, allocations: 34.56 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2722, allocations: 0 / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0007285/0.273, allocations: 258.2 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.273, allocations: 55.34 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.2731, allocations: 93.84 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2731, allocations: 30.05 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.2732, allocations: 84.14 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.2732, allocations: 7.906 kB / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.2732, allocations: 17.72 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.2733, allocations: 314.8 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.2734, allocations: 4 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.2734, allocations: 21.75 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/0.2735, allocations: 29.72 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.2735, allocations: 3.938 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001072/0.2736, allocations: 53.62 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.2736, allocations: 7.938 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2736, allocations: 7.984 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.2737, allocations: 4 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.2737, allocations: 7.984 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2738, allocations: 0 / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.2738, allocations: 64 / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.2738, allocations: 8 kB / 0.7871 GB, free: 9.316 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.176e-05/0.2739, allocations: 113.8 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.2739, allocations: 11.84 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.2741, allocations: 49.19 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2741, allocations: 3.938 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.2741, allocations: 3.984 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2741, allocations: 0 / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.2743, allocations: 157.7 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2743, allocations: 0 / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.2743, allocations: 4 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.2743, allocations: 7.938 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2744, allocations: 0 / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2744, allocations: 0 / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2744, allocations: 3.938 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.2745, allocations: 73.12 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.2746, allocations: 89.09 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.2746, allocations: 4.031 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.2746, allocations: 0 / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.2747, allocations: 0 / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.2747, allocations: 4 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.2747, allocations: 79.28 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2747, allocations: 0 / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002182/0.2749, allocations: 27.98 kB / 0.7877 GB, free: 8.586 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 (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.0004961/0.2754, allocations: 0.6467 MB / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.2756, allocations: 19.98 kB / 0.7883 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2756, allocations: 0 / 0.7883 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.2756, allocations: 11.94 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.2758, allocations: 3.938 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009544/0.2767, allocations: 1.144 MB / 0.7895 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.277, allocations: 0.6768 MB / 0.7901 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.2771, allocations: 8.031 kB / 0.7901 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.2771, allocations: 10.81 kB / 0.7902 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2772, allocations: 4 kB / 0.7902 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.2991, allocations: 1.712 MB / 0.7918 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.306, allocations: 15.92 kB / 0.7918 GB, free: 4.32 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)