Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.967/1.967, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001203/0.001203, allocations: 172.8 kB / 366.7 MB, free: 1.637 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.972/1.972, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.0009803/0.0009804, allocations: 98.38 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.375e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7732, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.9748, allocations: 138.8 MB / 1.109 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.9751, allocations: 71.95 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0125/0.9876, allocations: 4.3 MB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.689e-06/0.9876, allocations: 5.219 kB / 1.113 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.9877, allocations: 3.938 kB / 1.113 GB, free: 6.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004638/0.9881, allocations: 375.8 kB / 1.114 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.9882, allocations: 8.031 kB / 1.114 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.9883, allocations: 10.78 kB / 1.114 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.9885, allocations: 171 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.9885, allocations: 0 / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.9885, allocations: 4 kB / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.183e-05/0.9886, allocations: 13.3 kB / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.797e-05/0.9887, allocations: 37.7 kB / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.9887, allocations: 0 / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.9887, allocations: 1.312 kB / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9887, allocations: 0 / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.9891, allocations: 250.7 kB / 1.114 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/0.9892, allocations: 27.45 kB / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.9892, allocations: 11.2 kB / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.9899, allocations: 461.4 kB / 1.115 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.9899, allocations: 38.56 kB / 1.115 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9899, allocations: 0 / 1.115 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002015/0.9901, allocations: 45.62 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.9902, allocations: 51.41 kB / 1.115 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.9903, allocations: 97 kB / 1.115 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.9903, allocations: 25.7 kB / 1.115 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.9903, allocations: 84.05 kB / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.9903, allocations: 3.984 kB / 1.115 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.9904, allocations: 0 / 1.115 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9905, allocations: 323.4 kB / 1.115 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.9905, allocations: 0 / 1.115 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.9905, allocations: 8 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.9906, allocations: 7.953 kB / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9906, allocations: 0 / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.765e-05/0.9907, allocations: 49.59 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9907, allocations: 11.41 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.9907, allocations: 0 / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.9907, allocations: 4.094 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.9908, allocations: 12 kB / 1.115 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.9908, allocations: 0 / 1.115 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.9909, allocations: 11.92 kB / 1.115 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.9909, allocations: 2.5 kB / 1.115 GB, free: 4.559 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 (2): * Single equations (assignments): 2 * 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 7.219e-05/0.991, allocations: 108.9 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.705e-05/0.9911, allocations: 41.69 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.9911, allocations: 8.031 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.9912, allocations: 53.56 kB / 1.115 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9913, allocations: 4 kB / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9913, allocations: 0 / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9913, allocations: 0 / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.9914, allocations: 146.1 kB / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9914, allocations: 0 / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.9915, allocations: 11.98 kB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.9915, allocations: 4.031 kB / 1.116 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.9915, allocations: 4 kB / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.9915, allocations: 0 / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9915, allocations: 0 / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.9917, allocations: 139.5 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.9917, allocations: 77.11 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.9917, allocations: 0 / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.9918, allocations: 16.02 kB / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.9919, allocations: 0 / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.9919, allocations: 2.688 kB / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.9919, allocations: 87.27 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9919, allocations: 0 / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002257/0.9921, allocations: 16 kB / 1.116 GB, free: 3.762 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 (2): * Single equations (assignments): 2 * 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.0004974/0.9927, allocations: 0.6966 MB / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.549e-05/0.9927, allocations: 12 kB / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9928, allocations: 0 / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.9928, allocations: 8 kB / 1.117 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.993, allocations: 5.406 kB / 1.117 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.9933, allocations: 97.53 kB / 1.117 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.9936, allocations: 0.6894 MB / 1.117 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.9936, allocations: 2.266 kB / 1.117 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.9936, allocations: 11.44 kB / 1.117 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.9936, allocations: 0 / 1.117 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/1.012, allocations: 0.9909 MB / 1.118 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/1.012, allocations: 143.1 kB / 1.119 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.525, allocations: 2.625 kB / 1.119 GB, free: 1.008 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)