Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.004658/0.004658, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001091/0.001091, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.73/2.73, allocations: 469.4 MB / 0.7421 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2986, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001902/0.3006, allocations: 0.6214 MB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000686/0.3013, allocations: 352.5 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.3014, allocations: 4 kB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.3014, allocations: 3.938 kB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.567e-05/0.3014, allocations: 0 / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.3019, allocations: 123.2 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.302, allocations: 19.98 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.302, allocations: 0 / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.3021, allocations: 15.92 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.3021, allocations: 19.92 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3022, allocations: 0 / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.3026, allocations: 275.6 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.3026, allocations: 4 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.3027, allocations: 11.94 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.3029, allocations: 103.6 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3029, allocations: 4 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3029, allocations: 0 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5e-06/0.3029, allocations: 0 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004712/0.3034, allocations: 367.1 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3034, allocations: 12.03 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.3035, allocations: 38.75 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.3035, allocations: 8.891 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3037, allocations: 168.3 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3037, allocations: 384 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3037, allocations: 4.375 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3038, allocations: 58.22 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3039, allocations: 3.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3039, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3039, allocations: 8 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.105e-05/0.3039, allocations: 15.98 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.3041, allocations: 165.6 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3043, allocations: 62.5 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.3043, allocations: 32.83 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007301/0.3051, allocations: 461.5 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3051, allocations: 30.56 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3051, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.00142/0.3065, allocations: 0.5996 MB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3066, allocations: 51.41 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.696e-05/0.3067, allocations: 97.84 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3067, allocations: 29.7 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.3067, allocations: 92.06 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.3068, allocations: 35.66 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.3069, allocations: 33.7 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.307, allocations: 314.8 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-05/0.307, allocations: 23.98 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.3071, allocations: 31.92 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.81e-05/0.3072, allocations: 48.86 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3072, allocations: 96 / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000166/0.3074, allocations: 105.5 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3074, allocations: 5.875 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3074, allocations: 8 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3074, allocations: 0 / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3075, allocations: 19.94 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3075, allocations: 3.984 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.3076, allocations: 15.92 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3076, allocations: 0 / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 9.21e-05/0.3077, allocations: 113.8 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.3077, allocations: 7.938 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.3079, allocations: 105.6 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3079, allocations: 8 kB / 1.224 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.308, allocations: 0 / 1.224 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.308, allocations: 3.984 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.3083, allocations: 354.5 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3084, allocations: 0 / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3085, allocations: 19.94 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3085, allocations: 0 / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3085, allocations: 4 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3085, allocations: 7.984 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3085, allocations: 0 / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.3088, allocations: 219.4 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.3088, allocations: 89.08 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3089, allocations: 4 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.309, allocations: 4 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.309, allocations: 7.984 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.309, allocations: 4 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.309, allocations: 79.28 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.309, allocations: 4.062 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002785/0.3093, allocations: 43.92 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0005866/0.3099, allocations: 0.8062 MB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.3101, allocations: 63.92 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3101, allocations: 64 / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.725e-05/0.3101, allocations: 40.03 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.3103, allocations: 10 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3116, allocations: 1.387 MB / 1.227 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.3118, allocations: 0.6923 MB / 1.228 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.985e-05/0.3119, allocations: 4 kB / 1.228 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.312, allocations: 31.86 kB / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.312, allocations: 0 / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.332, allocations: 2.494 MB / 1.231 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.115, allocations: 5.938 kB / 1.231 GB, free: 3.113 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)