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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.768/1.768, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 173 kB / 366.7 MB, free: 1.625 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.2 MB / 0.626 GB, free: 7.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 110 kB / 0.7401 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.782e-05, allocations: 8 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6999/0.7, allocations: 116.3 MB / 0.9734 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.8921, allocations: 138.3 MB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.8924, allocations: 76.64 kB / 1.108 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.9054, allocations: 4.519 MB / 1.113 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9055, allocations: 3.938 kB / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.9055, allocations: 4.531 kB / 1.113 GB, free: 7.254 MB / 0.7136 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.0003452/0.9059, allocations: 348.4 kB / 1.113 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.9059, allocations: 8.031 kB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.906, allocations: 0 / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.9061, allocations: 172.2 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.9062, allocations: 0.9688 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.9062, allocations: 0 / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.7e-05/0.9062, allocations: 4 kB / 1.113 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.493e-05/0.9063, allocations: 40.69 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.9063, allocations: 0 / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.9064, allocations: 3.938 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9064, allocations: 0 / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.9065, allocations: 126.2 kB / 1.114 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/0.9066, allocations: 27.72 kB / 1.114 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.9066, allocations: 8.859 kB / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006721/0.9073, allocations: 461.1 kB / 1.114 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.9073, allocations: 34.44 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.9073, allocations: 3.719 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005981/0.9079, allocations: 249.8 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.908, allocations: 51.41 kB / 1.114 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.9081, allocations: 85 kB / 1.114 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.9081, allocations: 25.7 kB / 1.114 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.9081, allocations: 84.14 kB / 1.115 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.9082, allocations: 12.42 kB / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.9082, allocations: 0 / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9083, allocations: 317.1 kB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.9083, allocations: 4 kB / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.9084, allocations: 17.72 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.9084, allocations: 12.19 kB / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.9084, allocations: 3.938 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000113/0.9085, allocations: 53.64 kB / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9086, allocations: 9.094 kB / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9086, allocations: 0 / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.9086, allocations: 0 / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.9087, allocations: 4 kB / 1.115 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.9087, allocations: 7.984 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.9087, allocations: 0 / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.9087, allocations: 0 / 1.115 GB, free: 4.809 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.459e-05/0.9088, allocations: 113 kB / 1.115 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001031/0.9089, allocations: 41.64 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.909, allocations: 4 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.9091, allocations: 52.23 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.9091, allocations: 240 / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.9091, allocations: 0 / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.9092, allocations: 7.078 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.9093, allocations: 138.2 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9093, allocations: 0 / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.9093, allocations: 7.938 kB / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.9094, allocations: 3.953 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.9094, allocations: 4 kB / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.9094, allocations: 3.984 kB / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.9094, allocations: 0 / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.9095, allocations: 73.03 kB / 1.115 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.9096, allocations: 81.17 kB / 1.115 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.9096, allocations: 8.953 kB / 1.115 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.9097, allocations: 4.031 kB / 1.115 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.9097, allocations: 0 / 1.115 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.9097, allocations: 0 / 1.115 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.9097, allocations: 83.27 kB / 1.116 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9097, allocations: 0 / 1.116 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002221/0.91, allocations: 31.94 kB / 1.116 GB, free: 4.07 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005614/0.9105, allocations: 0.6476 MB / 1.116 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.648e-05/0.9106, allocations: 20.3 kB / 1.116 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9106, allocations: 0 / 1.116 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.9107, allocations: 11.94 kB / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.9108, allocations: 3.953 kB / 1.116 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.9112, allocations: 123.7 kB / 1.116 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.9115, allocations: 0.6768 MB / 1.117 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.9115, allocations: 6.062 kB / 1.117 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.9115, allocations: 7.438 kB / 1.117 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.9115, allocations: 4 kB / 1.117 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.9329, allocations: 1.176 MB / 1.118 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/0.9333, allocations: 170.1 kB / 1.118 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.424, allocations: 0 / 1.118 GB, free: 1.148 MB / 0.7136 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/linux/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)