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.668/1.668, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.0012/0.0012, allocations: 184 kB / 377.1 MB, free: 1.523 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.751/1.751, allocations: 205.4 MB / 0.6366 GB, free: 9.551 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.0009388/0.0009388, allocations: 92.05 kB / 0.7509 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 12 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8503/1.137, allocations: 139 MB / 1.124 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.137, allocations: 79.53 kB / 1.124 GB, free: 35.67 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01193/1.149, allocations: 4.543 MB / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.895e-06/1.149, allocations: 4 kB / 1.129 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.889e-05/1.15, allocations: 0 / 1.129 GB, free: 32.38 MB / 0.7292 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.0003991/1.15, allocations: 346.6 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/1.15, allocations: 8.031 kB / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/1.15, allocations: 34.5 kB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/1.15, allocations: 12.56 kB / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/1.15, allocations: 162.5 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/1.15, allocations: 0 / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/1.15, allocations: 3.75 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/1.15, allocations: 48.75 kB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/1.15, allocations: 0 / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/1.151, allocations: 0.5625 kB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.151, allocations: 1.719 kB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/1.151, allocations: 0 / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/1.151, allocations: 157 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.863e-05/1.151, allocations: 22.61 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005936/1.151, allocations: 462.7 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.151, allocations: 40.12 kB / 1.13 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/1.151, allocations: 0 / 1.13 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0006004/1.152, allocations: 252.6 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/1.152, allocations: 51.41 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.1e-05/1.152, allocations: 85 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/1.152, allocations: 29.7 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/1.152, allocations: 88.48 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/1.152, allocations: 8.594 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.152, allocations: 0 / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.335e-05/1.152, allocations: 314.4 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/1.152, allocations: 8.562 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/1.152, allocations: 13.72 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.49e-05/1.152, allocations: 12 kB / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/1.152, allocations: 4 kB / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/1.153, allocations: 57.06 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.153, allocations: 4 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/1.153, allocations: 0.8438 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.153, allocations: 0 / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/1.153, allocations: 11.47 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/1.153, allocations: 0 / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/1.153, allocations: 0.5625 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/1.153, allocations: 7.938 kB / 1.131 GB, free: 29.89 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/1.153, allocations: 113.9 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/1.153, allocations: 7.953 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/1.153, allocations: 58.8 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/1.153, allocations: 0 / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.153, allocations: 0 / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.153, allocations: 0.5625 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.672e-05/1.153, allocations: 153.2 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.153, allocations: 1.125 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/1.153, allocations: 12.23 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.153, allocations: 3.953 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/1.153, allocations: 4 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.153, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.153, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/1.153, allocations: 76.64 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/1.153, allocations: 81.02 kB / 1.131 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/1.153, allocations: 8 kB / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/1.153, allocations: 8.094 kB / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/1.154, allocations: 0 / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/1.154, allocations: 0 / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.648e-05/1.154, allocations: 84.12 kB / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/1.154, allocations: 0 / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002671/1.154, allocations: 35.27 kB / 1.131 GB, free: 29.18 MB / 0.7292 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 () * 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 (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.0004833/1.154, allocations: 0.6545 MB / 1.132 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.8e-05/1.154, allocations: 16 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.154, allocations: 0 / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/1.154, allocations: 7.703 kB / 1.132 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/1.155, allocations: 8.609 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/1.155, allocations: 0.5229 MB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/1.155, allocations: 0.68 MB / 1.133 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.594e-05/1.155, allocations: 9.109 kB / 1.133 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/1.155, allocations: 12.25 kB / 1.133 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/1.155, allocations: 4 kB / 1.133 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/1.169, allocations: 1.473 MB / 1.135 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.169, allocations: 207.5 kB / 1.135 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.867, allocations: 0 / 1.135 GB, free: 26.19 MB / 0.7292 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)