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.005886/0.005886, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001341/0.001341, allocations: 194.5 kB / 16.79 MB, free: 6.246 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.267/1.267, allocations: 222.9 MB / 240.5 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7114/0.7114, allocations: 115.3 MB / 405.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 493 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3124, allocations: 76.16 MB / 0.5558 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001704/0.3142, allocations: 0.6529 MB / 0.5565 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006389/0.3148, allocations: 374.7 kB / 0.5568 GB, free: 35.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.3148, allocations: 0 / 0.5568 GB, free: 35.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.3149, allocations: 2.156 kB / 0.5568 GB, free: 35.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.942e-05/0.3149, allocations: 0 / 0.5568 GB, free: 35.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.3152, allocations: 81.38 kB / 0.5569 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.152e-05/0.3153, allocations: 13 kB / 0.5569 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.3153, allocations: 2.125 kB / 0.5569 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.3153, allocations: 3.5 kB / 0.5569 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.3154, allocations: 9.641 kB / 0.5569 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3154, allocations: 0 / 0.5569 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.3157, allocations: 271.8 kB / 0.5572 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.3158, allocations: 1.734 kB / 0.5572 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.3158, allocations: 9.156 kB / 0.5572 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.316, allocations: 93.33 kB / 0.5573 GB, free: 35.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.316, allocations: 5.344 kB / 0.5573 GB, free: 35.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.316, allocations: 0 / 0.5573 GB, free: 35.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.316, allocations: 0 / 0.5573 GB, free: 35.61 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.0003028/0.3163, allocations: 338.3 kB / 0.5576 GB, free: 35.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3163, allocations: 14.72 kB / 0.5576 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.3164, allocations: 34.75 kB / 0.5577 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.3164, allocations: 2.531 kB / 0.5577 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.961e-05/0.3165, allocations: 166.6 kB / 0.5578 GB, free: 35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3165, allocations: 4.312 kB / 0.5578 GB, free: 35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.3165, allocations: 8.375 kB / 0.5578 GB, free: 35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.528e-05/0.3166, allocations: 34.52 kB / 0.5579 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.3166, allocations: 3.938 kB / 0.5579 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.3167, allocations: 0 / 0.5579 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3167, allocations: 3.516 kB / 0.5579 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.3167, allocations: 5.531 kB / 0.5579 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.3168, allocations: 150.8 kB / 0.558 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.787e-05/0.3169, allocations: 27.89 kB / 0.5581 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.3169, allocations: 7.766 kB / 0.5581 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005989/0.3175, allocations: 460 kB / 0.5585 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3175, allocations: 33.22 kB / 0.5585 GB, free: 34.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3175, allocations: 3.938 kB / 0.5585 GB, free: 34.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004582/0.318, allocations: 252.9 kB / 0.5588 GB, free: 33.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.318, allocations: 54.52 kB / 0.5588 GB, free: 33.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.632e-05/0.3181, allocations: 100.8 kB / 0.5589 GB, free: 33.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.3181, allocations: 25.7 kB / 0.559 GB, free: 33.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.312e-05/0.3181, allocations: 81.48 kB / 0.559 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3181, allocations: 14.16 kB / 0.559 GB, free: 33.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.3181, allocations: 19.05 kB / 0.5591 GB, free: 33.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.3182, allocations: 315.5 kB / 0.5594 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.3182, allocations: 9.375 kB / 0.5594 GB, free: 33.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.381e-05/0.3182, allocations: 16.94 kB / 0.5594 GB, free: 33.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.3183, allocations: 30.89 kB / 0.5594 GB, free: 33.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3183, allocations: 0 / 0.5594 GB, free: 33.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.607e-05/0.3184, allocations: 53.14 kB / 0.5595 GB, free: 33.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3184, allocations: 11.59 kB / 0.5595 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3184, allocations: 1.125 kB / 0.5595 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.3184, allocations: 5.281 kB / 0.5595 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.3185, allocations: 12.09 kB / 0.5595 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3185, allocations: 0 / 0.5595 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.3185, allocations: 6.281 kB / 0.5595 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.3185, allocations: 2.109 kB / 0.5595 GB, free: 33.23 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 3.931e-05/0.3186, allocations: 110.7 kB / 0.5596 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3186, allocations: 5.984 kB / 0.5596 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3187, allocations: 60.28 kB / 0.5597 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3187, allocations: 1.219 kB / 0.5597 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3187, allocations: 0 / 0.5597 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3187, allocations: 0.7031 kB / 0.5597 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.007e-05/0.3188, allocations: 150.5 kB / 0.5598 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3188, allocations: 0.75 kB / 0.5598 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.3189, allocations: 5.328 kB / 0.5598 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3189, allocations: 6.094 kB / 0.5598 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.3189, allocations: 0 / 0.5598 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3189, allocations: 3.25 kB / 0.5598 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3189, allocations: 0 / 0.5598 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.319, allocations: 81.33 kB / 0.5599 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.319, allocations: 83.22 kB / 0.56 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.319, allocations: 2.484 kB / 0.56 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.3191, allocations: 6.844 kB / 0.56 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.3191, allocations: 6.344 kB / 0.56 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3191, allocations: 2.188 kB / 0.56 GB, free: 32.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.549e-05/0.3191, allocations: 77.98 kB / 0.5601 GB, free: 32.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3191, allocations: 0 / 0.5601 GB, free: 32.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002007/0.3193, allocations: 28.59 kB / 0.5601 GB, free: 32.62 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.0003087/0.3197, allocations: 0.6448 MB / 0.5607 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.224e-05/0.3197, allocations: 17.56 kB / 0.5608 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.3197, allocations: 2.5 kB / 0.5608 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.3198, allocations: 6.438 kB / 0.5608 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.3199, allocations: 7.531 kB / 0.5608 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006594/0.3206, allocations: 1.132 MB / 0.5619 GB, free: 30.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.338e-05/0.3207, allocations: 0.6752 MB / 0.5625 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.3207, allocations: 10.17 kB / 0.5625 GB, free: 30.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.3207, allocations: 14.39 kB / 0.5626 GB, free: 30.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3207, allocations: 0 / 0.5626 GB, free: 30.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07625/0.397, allocations: 1.599 MB / 0.5641 GB, free: 30 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.3972, allocations: 224 kB / 0.5643 GB, free: 29.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.414, allocations: 0 / 0.5643 GB, free: 29.74 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 & /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)