Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.0009395/0.0009396, allocations: 102.3 kB / 15.98 MB, free: 6.301 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.0008801/0.0008801, allocations: 197.2 kB / 16.91 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 240.6 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7249/0.7249, allocations: 115.3 MB / 406.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 68.08 kB / 493.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1903, allocations: 76.19 MB / 0.5561 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002242/0.1926, allocations: 0.6426 MB / 0.5567 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007104/0.1933, allocations: 353.3 kB / 0.557 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.1933, allocations: 0 / 0.557 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.1934, allocations: 0 / 0.557 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.149e-05/0.1934, allocations: 4 kB / 0.557 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.1939, allocations: 94.97 kB / 0.5571 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.03e-05/0.194, allocations: 8 kB / 0.5571 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.1941, allocations: 0 / 0.5571 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.417e-05/0.1941, allocations: 19.91 kB / 0.5571 GB, free: 9.488 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.1941, allocations: 0 / 0.5571 GB, free: 9.488 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1942, allocations: 4 kB / 0.5571 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.1946, allocations: 271.7 kB / 0.5574 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.1946, allocations: 3.984 kB / 0.5574 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.1946, allocations: 11.88 kB / 0.5574 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1948, allocations: 95.84 kB / 0.5575 GB, free: 9.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1948, allocations: 0 / 0.5575 GB, free: 9.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1948, allocations: 0 / 0.5575 GB, free: 9.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1948, allocations: 0 / 0.5575 GB, free: 9.109 MB / 430.1 MB 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.0004013/0.1953, allocations: 343.6 kB / 0.5578 GB, free: 8.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1953, allocations: 8.031 kB / 0.5578 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.1954, allocations: 30.75 kB / 0.5579 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.1954, allocations: 4.938 kB / 0.5579 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1956, allocations: 172.5 kB / 0.558 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1956, allocations: 384 / 0.558 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.1956, allocations: 384 / 0.558 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.1957, allocations: 38.25 kB / 0.5581 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1958, allocations: 7.875 kB / 0.5581 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1958, allocations: 8 kB / 0.5581 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1958, allocations: 0 / 0.5581 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.1958, allocations: 3.938 kB / 0.5581 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.196, allocations: 153.7 kB / 0.5582 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.1961, allocations: 18.61 kB / 0.5583 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.1961, allocations: 8.922 kB / 0.5583 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007637/0.1969, allocations: 461.5 kB / 0.5587 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1969, allocations: 34.56 kB / 0.5587 GB, free: 7.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1969, allocations: 0 / 0.5587 GB, free: 7.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005748/0.1975, allocations: 250.3 kB / 0.559 GB, free: 7.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1975, allocations: 51.41 kB / 0.559 GB, free: 7.219 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.1976, allocations: 97.86 kB / 0.5591 GB, free: 7.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1977, allocations: 29.64 kB / 0.5592 GB, free: 7.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.1977, allocations: 84.12 kB / 0.5592 GB, free: 6.992 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.1978, allocations: 11.81 kB / 0.5592 GB, free: 6.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.1978, allocations: 22.06 kB / 0.5593 GB, free: 6.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.198, allocations: 310.8 kB / 0.5596 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.198, allocations: 11.98 kB / 0.5596 GB, free: 6.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.1981, allocations: 13.72 kB / 0.5596 GB, free: 6.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/0.1981, allocations: 21.72 kB / 0.5596 GB, free: 6.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1981, allocations: 0 / 0.5596 GB, free: 6.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000167/0.1983, allocations: 57.77 kB / 0.5597 GB, free: 6.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.1983, allocations: 14.12 kB / 0.5597 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1984, allocations: 0 / 0.5597 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1984, allocations: 3.984 kB / 0.5597 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.1985, allocations: 16 kB / 0.5597 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1985, allocations: 0 / 0.5597 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.1985, allocations: 0 / 0.5597 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1985, allocations: 7.984 kB / 0.5597 GB, free: 6.48 MB / 430.1 MB 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 0.0001089/0.1987, allocations: 117.8 kB / 0.5598 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.1987, allocations: 7.938 kB / 0.5598 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.1989, allocations: 53.19 kB / 0.5599 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1989, allocations: 4 kB / 0.5599 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1989, allocations: 0 / 0.5599 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1989, allocations: 0 / 0.5599 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.1991, allocations: 149.7 kB / 0.56 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1991, allocations: 0 / 0.56 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.1992, allocations: 11.98 kB / 0.56 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1992, allocations: 7.938 kB / 0.56 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1992, allocations: 0 / 0.56 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1992, allocations: 0 / 0.56 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1992, allocations: 7.938 kB / 0.56 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.1994, allocations: 76.97 kB / 0.5601 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.1995, allocations: 85.05 kB / 0.5602 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1995, allocations: 0 / 0.5602 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.16e-05/0.1996, allocations: 4.031 kB / 0.5602 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.1996, allocations: 8.047 kB / 0.5602 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.1996, allocations: 0 / 0.5602 GB, free: 5.855 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.878e-05/0.1996, allocations: 79.28 kB / 0.5603 GB, free: 5.777 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1996, allocations: 0 / 0.5603 GB, free: 5.777 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1999, allocations: 24 kB / 0.5603 GB, free: 5.754 MB / 430.1 MB 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.000642/0.2005, allocations: 0.6515 MB / 0.5609 GB, free: 5.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.2007, allocations: 12 kB / 0.561 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2007, allocations: 0 / 0.561 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.2007, allocations: 15.92 kB / 0.561 GB, free: 5.043 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.2009, allocations: 4 kB / 0.561 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.2021, allocations: 1.135 MB / 0.5621 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.2024, allocations: 0.6768 MB / 0.5627 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.773e-05/0.2025, allocations: 4.344 kB / 0.5628 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.2025, allocations: 15.42 kB / 0.5628 GB, free: 3.094 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2025, allocations: 3.938 kB / 0.5628 GB, free: 3.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.2176, allocations: 1.625 MB / 0.5644 GB, free: 1.629 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.2179, allocations: 220.3 kB / 0.5646 GB, free: 1.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.963, allocations: 0 / 0.5646 GB, free: 1.379 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)