Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.642/1.642, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001221/0.001222, allocations: 172.9 kB / 361.4 MB, free: 6.855 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.579/1.579, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.001121/0.001121, allocations: 96.3 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.343e-05, allocations: 8 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6654/0.6654, allocations: 115.3 MB / 0.9645 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.8509, allocations: 137.2 MB / 1.098 GB, free: 2.578 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.8512, allocations: 83.69 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01143/0.8627, allocations: 3.979 MB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8627, allocations: 0.6875 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8627, allocations: 0 / 1.102 GB, free: 14.58 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003605/0.8631, allocations: 343.5 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.8632, allocations: 8.031 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.091e-05/0.8633, allocations: 1.75 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.8634, allocations: 167 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.8634, allocations: 0.6562 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.8634, allocations: 8.609 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.72e-05/0.8635, allocations: 3.984 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.109e-05/0.8636, allocations: 30.42 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.8636, allocations: 0.875 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.8636, allocations: 4 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.8636, allocations: 0.5312 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.8638, allocations: 122.9 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.198e-05/0.8638, allocations: 19.22 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.8639, allocations: 9.547 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/0.8644, allocations: 427.2 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.8644, allocations: 37.34 kB / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.8644, allocations: 0 / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001703/0.8646, allocations: 33.69 kB / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.8646, allocations: 51.41 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.017e-05/0.8647, allocations: 85 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.8647, allocations: 26.39 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.8647, allocations: 81.02 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.8648, allocations: 4 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.8648, allocations: 0.875 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.8649, allocations: 310.8 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.8649, allocations: 5.688 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.8649, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.8649, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8649, allocations: 1.312 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.708e-05/0.865, allocations: 45.53 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.8651, allocations: 8.734 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.8651, allocations: 4.125 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.8651, allocations: 1.5 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.574e-05/0.8651, allocations: 11.06 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.8652, allocations: 0 / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.8652, allocations: 0 / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.8652, allocations: 0 / 1.104 GB, free: 12.5 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.848e-05/0.8652, allocations: 101 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.69e-05/0.8653, allocations: 33.7 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.8653, allocations: 7.938 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.212e-05/0.8654, allocations: 45.42 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8654, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8654, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8655, allocations: 4 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.606e-05/0.8655, allocations: 126.2 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8656, allocations: 0 / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.8656, allocations: 0 / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.8656, allocations: 0 / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.8656, allocations: 9.266 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8656, allocations: 0 / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8656, allocations: 4.031 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.056e-05/0.8657, allocations: 57.08 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.8658, allocations: 85.09 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.8658, allocations: 0 / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.8658, allocations: 3.953 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.8658, allocations: 0 / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.8658, allocations: 0 / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.8659, allocations: 79.31 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8659, allocations: 0 / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002013/0.8661, allocations: 19.94 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0004324/0.8665, allocations: 0.6045 MB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.272e-05/0.8666, allocations: 8.031 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.8666, allocations: 2.906 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.8666, allocations: 3.938 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.8667, allocations: 7.953 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.867, allocations: 82.3 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.8672, allocations: 0.6768 MB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.827e-05/0.8673, allocations: 0 / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.8673, allocations: 7.562 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/0.8673, allocations: 4 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.8869, allocations: 0.6749 MB / 1.107 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.8872, allocations: 155.2 kB / 1.107 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/2.348, allocations: 0 / 1.107 GB, free: 9.531 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)