Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001382/0.001382, allocations: 184.8 kB / 366.7 MB, free: 1.695 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.854/1.854, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008452/0.0008453, allocations: 91.05 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.352e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6326/0.6326, allocations: 116.3 MB / 0.9734 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.8254, allocations: 138.1 MB / 1.108 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003941/0.8258, allocations: 75.95 kB / 1.108 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02355/0.8494, allocations: 3.99 MB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.216e-06/0.8495, allocations: 0.75 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.8495, allocations: 0 / 1.112 GB, free: 7.953 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.0004581/0.85, allocations: 351.6 kB / 1.113 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.8501, allocations: 8.031 kB / 1.113 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.8501, allocations: 2.656 kB / 1.113 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.8503, allocations: 163 kB / 1.113 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.8503, allocations: 0.5938 kB / 1.113 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.8503, allocations: 4.719 kB / 1.113 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.902e-05/0.8504, allocations: 3.938 kB / 1.113 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.622e-05/0.8505, allocations: 27.17 kB / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.8505, allocations: 0 / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.8506, allocations: 7.984 kB / 1.113 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.8506, allocations: 1.219 kB / 1.113 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.8507, allocations: 122.2 kB / 1.113 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.8508, allocations: 20.59 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.8508, allocations: 8.953 kB / 1.113 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/0.8515, allocations: 424.9 kB / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.8516, allocations: 38.5 kB / 1.113 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.994e-06/0.8516, allocations: 1.219 kB / 1.113 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001841/0.8518, allocations: 33.7 kB / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.8519, allocations: 51.41 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.8519, allocations: 88.56 kB / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.852, allocations: 29.69 kB / 1.114 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.852, allocations: 80.14 kB / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.852, allocations: 0 / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.8521, allocations: 0 / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8522, allocations: 310.8 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.8523, allocations: 4 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.8523, allocations: 0 / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.8523, allocations: 3.719 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.8523, allocations: 0 / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001259/0.8525, allocations: 44.64 kB / 1.114 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.8525, allocations: 7.953 kB / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8525, allocations: 0 / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.8525, allocations: 3.938 kB / 1.114 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.8526, allocations: 7.984 kB / 1.114 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.8526, allocations: 0 / 1.114 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.8527, allocations: 0.7188 kB / 1.114 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.8527, allocations: 1.688 kB / 1.114 GB, free: 5.875 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 8.978e-05/0.8528, allocations: 108.1 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001113/0.8529, allocations: 33.7 kB / 1.114 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.853, allocations: 7.938 kB / 1.114 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.8531, allocations: 41.38 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.8531, allocations: 0 / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8531, allocations: 4.188 kB / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8532, allocations: 4 kB / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.8533, allocations: 122.2 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8533, allocations: 0 / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.8533, allocations: 0 / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.8533, allocations: 3.984 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.8534, allocations: 7.953 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.8534, allocations: 1.5 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8534, allocations: 0 / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.8536, allocations: 57.14 kB / 1.114 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.8536, allocations: 81.11 kB / 1.114 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.8536, allocations: 0 / 1.114 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.914e-05/0.8537, allocations: 7.938 kB / 1.114 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.8537, allocations: 0 / 1.114 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.8537, allocations: 3.938 kB / 1.114 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.8538, allocations: 75.28 kB / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8538, allocations: 0 / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000352/0.8541, allocations: 19.94 kB / 1.115 GB, free: 5.215 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.0006091/0.8548, allocations: 0.6047 MB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.983e-05/0.8549, allocations: 4 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8549, allocations: 1.219 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.8549, allocations: 3.938 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.8551, allocations: 15.31 kB / 1.115 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.8554, allocations: 81.59 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.8557, allocations: 0.6729 MB / 1.116 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.635e-05/0.8558, allocations: 0 / 1.116 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.8558, allocations: 9.625 kB / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.8558, allocations: 0 / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.877, allocations: 0.6775 MB / 1.117 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.8772, allocations: 145.2 kB / 1.117 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.448, allocations: 4 kB / 1.117 GB, free: 2.906 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)