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.0009173/0.0009174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0008677/0.0008676, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.182/1.182, allocations: 205.1 MB / 222 MB, free: 4.977 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.501/1.501, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001319/0.001318, allocations: 70.2 kB / 0.6709 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2072, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001667/0.2089, allocations: 0.6705 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006242/0.2096, allocations: 362.9 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.2096, allocations: 4 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.2096, allocations: 0 / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.82e-05/0.2096, allocations: 0 / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.21, allocations: 79.78 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.683e-05/0.21, allocations: 11.94 kB / 0.7839 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.2101, allocations: 3.984 kB / 0.7839 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.489e-05/0.2101, allocations: 7.938 kB / 0.7839 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.2101, allocations: 3.984 kB / 0.7839 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2101, allocations: 4 kB / 0.7839 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.2105, allocations: 271.6 kB / 0.7842 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.2105, allocations: 4 kB / 0.7842 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.2105, allocations: 7.938 kB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.2107, allocations: 95.84 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2107, allocations: 0 / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2107, allocations: 0 / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.2107, allocations: 0 / 0.7843 GB, free: 12.39 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.0003215/0.211, allocations: 347.4 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2111, allocations: 12.03 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.2111, allocations: 30.75 kB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.2111, allocations: 0.9375 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.393e-05/0.2112, allocations: 160.7 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2112, allocations: 12.36 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2113, allocations: 384 / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.603e-05/0.2114, allocations: 42.19 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2114, allocations: 3.938 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-06/0.2114, allocations: 0 / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2114, allocations: 0 / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.716e-05/0.2114, allocations: 4 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.2115, allocations: 157.6 kB / 0.785 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.042e-05/0.2116, allocations: 22.61 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.2116, allocations: 8.922 kB / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.2122, allocations: 453.5 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.2123, allocations: 42.5 kB / 0.7855 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2123, allocations: 4 kB / 0.7855 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004292/0.2127, allocations: 250.2 kB / 0.7858 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2128, allocations: 51.41 kB / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.2128, allocations: 102.1 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2128, allocations: 29.83 kB / 0.7859 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.2129, allocations: 80.14 kB / 0.786 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.2129, allocations: 3.906 kB / 0.786 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.2129, allocations: 17.72 kB / 0.786 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.213, allocations: 314.8 kB / 0.7863 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.213, allocations: 7.984 kB / 0.7863 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.2131, allocations: 17.72 kB / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.2131, allocations: 29.66 kB / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2131, allocations: 0 / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.657e-05/0.2132, allocations: 57.69 kB / 0.7864 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2132, allocations: 7.938 kB / 0.7864 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2132, allocations: 11.88 kB / 0.7865 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.2132, allocations: 0 / 0.7865 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.2133, allocations: 7.938 kB / 0.7865 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2133, allocations: 8.047 kB / 0.7865 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.2133, allocations: 4 kB / 0.7865 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.2133, allocations: 0 / 0.7865 GB, free: 9.758 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 5.434e-05/0.2134, allocations: 109.8 kB / 0.7866 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.2134, allocations: 7.844 kB / 0.7866 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.2135, allocations: 53.19 kB / 0.7866 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2136, allocations: 0 / 0.7866 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2136, allocations: 4 kB / 0.7866 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2136, allocations: 0 / 0.7866 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.265e-05/0.2137, allocations: 149.7 kB / 0.7868 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2137, allocations: 0 / 0.7868 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.2137, allocations: 19.92 kB / 0.7868 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2137, allocations: 3.938 kB / 0.7868 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.2137, allocations: 0 / 0.7868 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2137, allocations: 0 / 0.7868 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2137, allocations: 0 / 0.7868 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.2139, allocations: 78.39 kB / 0.7869 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.2139, allocations: 89.05 kB / 0.787 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2139, allocations: 3.984 kB / 0.787 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.214, allocations: 0 / 0.787 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.214, allocations: 4 kB / 0.787 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.214, allocations: 0 / 0.787 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.509e-05/0.214, allocations: 75.28 kB / 0.787 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.214, allocations: 0 / 0.787 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001952/0.2142, allocations: 24 kB / 0.7871 GB, free: 9.039 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.0004068/0.2146, allocations: 0.6555 MB / 0.7877 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.506e-05/0.2147, allocations: 11.94 kB / 0.7877 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2147, allocations: 0 / 0.7877 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.857e-05/0.2147, allocations: 15.98 kB / 0.7877 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.2149, allocations: 192 / 0.7877 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007684/0.2157, allocations: 1.141 MB / 0.7889 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.2158, allocations: 0.6731 MB / 0.7895 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.2159, allocations: 7.984 kB / 0.7895 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.2159, allocations: 11.44 kB / 0.7895 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2159, allocations: 0 / 0.7895 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.2374, allocations: 1.599 MB / 0.7911 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.2376, allocations: 233.4 kB / 0.7913 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.834, allocations: 3.375 kB / 0.7913 GB, free: 4.672 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/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)