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.001087/0.001087, allocations: 105.4 kB / 16.27 MB, free: 6.41 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.001076/0.001076, allocations: 186.2 kB / 17.2 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7333/0.7333, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.89 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3177, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001742/0.3195, allocations: 0.5903 MB / 0.5679 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005767/0.3201, allocations: 336.9 kB / 0.5682 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.3202, allocations: 0 / 0.5682 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.3202, allocations: 4.938 kB / 0.5682 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.537e-05/0.3202, allocations: 1.188 kB / 0.5682 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.3206, allocations: 116.4 kB / 0.5683 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.212e-05/0.3207, allocations: 15.44 kB / 0.5683 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.3207, allocations: 2.203 kB / 0.5683 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.704e-05/0.3208, allocations: 7.359 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.3208, allocations: 7.703 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3208, allocations: 1.281 kB / 0.5683 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.3212, allocations: 272.2 kB / 0.5686 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.3212, allocations: 3.125 kB / 0.5686 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.3212, allocations: 14.2 kB / 0.5686 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3214, allocations: 91.72 kB / 0.5687 GB, free: 31.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3214, allocations: 3.938 kB / 0.5687 GB, free: 31.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3214, allocations: 0.5938 kB / 0.5687 GB, free: 31.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3214, allocations: 0.625 kB / 0.5687 GB, free: 31.92 MB / 446.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.0002639/0.3217, allocations: 342.7 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3217, allocations: 10.12 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.374e-05/0.3218, allocations: 31.97 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.3218, allocations: 6.25 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.973e-05/0.3219, allocations: 167 kB / 0.5692 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.3219, allocations: 384 / 0.5692 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.322, allocations: 2.344 kB / 0.5692 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.958e-05/0.322, allocations: 42.97 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.322, allocations: 3.938 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.3221, allocations: 0 / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3221, allocations: 5.266 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.3221, allocations: 9.406 kB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.3222, allocations: 150.8 kB / 0.5694 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.3222, allocations: 21.48 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.3223, allocations: 9.172 kB / 0.5695 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.3229, allocations: 461.4 kB / 0.5699 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.3229, allocations: 32.12 kB / 0.5699 GB, free: 30.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3229, allocations: 0.9375 kB / 0.5699 GB, free: 30.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004088/0.3233, allocations: 253.3 kB / 0.5702 GB, free: 30.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.836e-05/0.3233, allocations: 57 kB / 0.5702 GB, free: 30.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.868e-05/0.3234, allocations: 98.62 kB / 0.5703 GB, free: 30.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.3234, allocations: 27.55 kB / 0.5704 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.309e-05/0.3234, allocations: 80.14 kB / 0.5704 GB, free: 29.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3234, allocations: 16.94 kB / 0.5705 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.3235, allocations: 15.3 kB / 0.5705 GB, free: 29.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.3235, allocations: 317.2 kB / 0.5708 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.3235, allocations: 3.625 kB / 0.5708 GB, free: 29.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.3236, allocations: 17.53 kB / 0.5708 GB, free: 29.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.3236, allocations: 24.28 kB / 0.5708 GB, free: 29.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3236, allocations: 0.8438 kB / 0.5708 GB, free: 29.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.628e-05/0.3237, allocations: 58.48 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3237, allocations: 9.344 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3237, allocations: 0.75 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3238, allocations: 1.156 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.3238, allocations: 11.7 kB / 0.5709 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3238, allocations: 2.562 kB / 0.5709 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.3238, allocations: 0 / 0.5709 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3239, allocations: 6.547 kB / 0.5709 GB, free: 29.55 MB / 446.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 4.167e-05/0.3239, allocations: 114 kB / 0.571 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.3239, allocations: 14.59 kB / 0.571 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.324, allocations: 55.05 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3241, allocations: 6.031 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3241, allocations: 1 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3241, allocations: 0 / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.034e-05/0.3241, allocations: 157.9 kB / 0.5712 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3241, allocations: 1.797 kB / 0.5712 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.3242, allocations: 4.625 kB / 0.5712 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3242, allocations: 6.5 kB / 0.5712 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3242, allocations: 1.922 kB / 0.5712 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3242, allocations: 0 / 0.5712 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3242, allocations: 1.703 kB / 0.5713 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.3244, allocations: 83.48 kB / 0.5713 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.3244, allocations: 81.05 kB / 0.5714 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3244, allocations: 2.016 kB / 0.5714 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.3244, allocations: 1.031 kB / 0.5714 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.3245, allocations: 3.125 kB / 0.5714 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3245, allocations: 2.281 kB / 0.5714 GB, free: 29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.813e-05/0.3245, allocations: 78.09 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3245, allocations: 0 / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.3247, allocations: 24.56 kB / 0.5715 GB, free: 28.93 MB / 446.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.0003216/0.325, allocations: 0.6444 MB / 0.5721 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.865e-05/0.3251, allocations: 19.17 kB / 0.5722 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3251, allocations: 0 / 0.5722 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-05/0.3252, allocations: 13.58 kB / 0.5722 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.3253, allocations: 1.375 kB / 0.5722 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.326, allocations: 1.132 MB / 0.5733 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.389e-05/0.3261, allocations: 0.6772 MB / 0.5739 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.855e-05/0.3261, allocations: 8.344 kB / 0.574 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.3261, allocations: 11.58 kB / 0.574 GB, free: 26.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3261, allocations: 0 / 0.574 GB, free: 26.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.3435, allocations: 1.711 MB / 0.5756 GB, free: 26.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.411, allocations: 7.797 kB / 0.5756 GB, free: 26.18 MB / 446.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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)