Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 179.1 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008822/0.0008823, allocations: 97.97 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.000375, allocations: 12.97 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3267, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.5163, allocations: 131.9 MB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5167, allocations: 79.95 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01449/0.5312, allocations: 5.073 MB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.106e-06/0.5313, allocations: 0 / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.5313, allocations: 4 kB / 1.034 GB, free: 6.594 MB / 0.6823 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.0004533/0.5318, allocations: 371.1 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.5318, allocations: 8.031 kB / 1.034 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.5319, allocations: 38.56 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.955e-05/0.532, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.5322, allocations: 174.9 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.5322, allocations: 0 / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.5323, allocations: 8 kB / 1.035 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.5325, allocations: 49.62 kB / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5325, allocations: 0 / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.5325, allocations: 0 / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5325, allocations: 7.938 kB / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.34e-05/0.5326, allocations: 19.98 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.5328, allocations: 169.6 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.533, allocations: 58.55 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007418/0.5337, allocations: 461.5 kB / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.5338, allocations: 38.56 kB / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.5338, allocations: 0 / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001459/0.5352, allocations: 0.5956 MB / 1.036 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.5353, allocations: 51.41 kB / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.5354, allocations: 93 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.5354, allocations: 25.7 kB / 1.036 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.5355, allocations: 84.14 kB / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.5355, allocations: 39.45 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.5355, allocations: 4 kB / 1.036 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5357, allocations: 322.8 kB / 1.036 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.5357, allocations: 20 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.631e-05/0.5358, allocations: 23.98 kB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.803e-05/0.5358, allocations: 26.12 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5358, allocations: 0 / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001547/0.536, allocations: 93.62 kB / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.536, allocations: 4 kB / 1.037 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.536, allocations: 3.984 kB / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5361, allocations: 4.188 kB / 1.037 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.5362, allocations: 20 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.5362, allocations: 0 / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.5362, allocations: 0 / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.5363, allocations: 7.984 kB / 1.037 GB, free: 3.422 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/0.5364, allocations: 121.8 kB / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.5364, allocations: 7.906 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.5366, allocations: 109.5 kB / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5366, allocations: 0 / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5366, allocations: 4 kB / 1.037 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5366, allocations: 3.984 kB / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.5371, allocations: 354.5 kB / 1.037 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5371, allocations: 7.984 kB / 1.037 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.5372, allocations: 16 kB / 1.037 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5373, allocations: 4 kB / 1.037 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.5373, allocations: 0 / 1.037 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.5373, allocations: 0 / 1.037 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5373, allocations: 3.938 kB / 1.037 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.5376, allocations: 227.3 kB / 1.038 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.5376, allocations: 93.03 kB / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.5377, allocations: 0 / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.5377, allocations: 0 / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.5378, allocations: 7.984 kB / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.5378, allocations: 8 kB / 1.038 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.5379, allocations: 75.28 kB / 1.038 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5379, allocations: 8.062 kB / 1.038 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000302/0.5382, allocations: 59.86 kB / 1.038 GB, free: 2.227 MB / 0.6823 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 (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.0006991/0.5389, allocations: 0.8064 MB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.539, allocations: 62.34 kB / 1.039 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.539, allocations: 0 / 1.039 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.5391, allocations: 43.98 kB / 1.039 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.5393, allocations: 2.031 kB / 1.039 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.5402, allocations: 0.5255 MB / 1.039 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.5405, allocations: 0.6965 MB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.023e-05/0.5405, allocations: 7.938 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.5406, allocations: 19.44 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of SimCode: time 3.487e-06/0.5406, allocations: 0 / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.5546, allocations: 2.17 MB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.5549, allocations: 225.3 kB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.227, allocations: 0 / 1.042 GB, free: 13.75 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)