Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8369/0.8369, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 184.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009492, allocations: 96.77 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002084, allocations: 283.2 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.919e-05/4.931e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.569/0.5691, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.7104, allocations: 109.2 MB / 0.871 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.7107, allocations: 71.95 kB / 0.8711 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.7243, allocations: 4.349 MB / 0.8753 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.866e-06/0.7244, allocations: 3.938 kB / 0.8753 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.7244, allocations: 0.5 kB / 0.8753 GB, free: 10.93 MB / 0.5417 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.0005249/0.7249, allocations: 374.4 kB / 0.8757 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.725, allocations: 12.03 kB / 0.8757 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.7251, allocations: 30.56 kB / 0.8757 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.232e-05/0.7252, allocations: 3.984 kB / 0.8757 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.7253, allocations: 167 kB / 0.8759 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.7254, allocations: 3.953 kB / 0.8759 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.7254, allocations: 0 / 0.8759 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.7255, allocations: 41.7 kB / 0.8759 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7255, allocations: 3.984 kB / 0.8759 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.7255, allocations: 0 / 0.8759 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7256, allocations: 0 / 0.8759 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.703e-05/0.7256, allocations: 15.94 kB / 0.8759 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.7261, allocations: 268.9 kB / 0.8762 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.384e-05/0.7262, allocations: 30.58 kB / 0.8762 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.7262, allocations: 8.922 kB / 0.8762 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006503/0.7269, allocations: 465.5 kB / 0.8767 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.7269, allocations: 30.56 kB / 0.8767 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.7269, allocations: 0 / 0.8767 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002275/0.7272, allocations: 41.64 kB / 0.8768 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.7272, allocations: 55.41 kB / 0.8768 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.7273, allocations: 101 kB / 0.8769 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.7273, allocations: 29.73 kB / 0.8769 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.7274, allocations: 84.14 kB / 0.877 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.7274, allocations: 7.906 kB / 0.877 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.7274, allocations: 0 / 0.877 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7276, allocations: 314.8 kB / 0.8773 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.7276, allocations: 8 kB / 0.8773 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.7276, allocations: 4 kB / 0.8773 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.694e-05/0.7277, allocations: 11.92 kB / 0.8773 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7277, allocations: 4 kB / 0.8773 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001568/0.7279, allocations: 57.55 kB / 0.8774 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.7279, allocations: 4 kB / 0.8774 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.7279, allocations: 3.984 kB / 0.8774 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.7279, allocations: 0 / 0.8774 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.7281, allocations: 15.98 kB / 0.8774 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.7281, allocations: 0 / 0.8774 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.7281, allocations: 7.984 kB / 0.8774 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.7282, allocations: 4.031 kB / 0.8774 GB, free: 8.449 MB / 0.5417 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 9.66e-05/0.7283, allocations: 108.9 kB / 0.8775 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.7283, allocations: 0 / 0.8775 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.7285, allocations: 56.39 kB / 0.8776 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.7285, allocations: 0 / 0.8776 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7285, allocations: 3.938 kB / 0.8776 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7285, allocations: 0 / 0.8776 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.7287, allocations: 169.5 kB / 0.8778 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7287, allocations: 0 / 0.8778 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.7288, allocations: 12.03 kB / 0.8778 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7288, allocations: 0 / 0.8778 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.7288, allocations: 0 / 0.8778 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.7288, allocations: 0 / 0.8778 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7288, allocations: 0 / 0.8778 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.729, allocations: 135.5 kB / 0.8779 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.7291, allocations: 97 kB / 0.878 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.7291, allocations: 0 / 0.878 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.7292, allocations: 7.984 kB / 0.878 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.7292, allocations: 4 kB / 0.878 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.7292, allocations: 0 / 0.878 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.7293, allocations: 83.27 kB / 0.8781 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.264e-06/0.7293, allocations: 0 / 0.8781 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002408/0.7295, allocations: 23.94 kB / 0.8781 GB, free: 7.672 MB / 0.5417 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.0005775/0.7301, allocations: 0.6933 MB / 0.8788 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.7302, allocations: 12 kB / 0.8788 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7303, allocations: 0 / 0.8788 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.7303, allocations: 11.94 kB / 0.8788 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.7305, allocations: 8.156 kB / 0.8788 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.7309, allocations: 102.8 kB / 0.8789 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.7312, allocations: 0.6809 MB / 0.8796 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.7313, allocations: 0 / 0.8796 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.7313, allocations: 11.38 kB / 0.8796 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of SimCode: time 4.5e-07/0.7313, allocations: 0 / 0.8796 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.7456, allocations: 1.308 MB / 0.8809 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.7459, allocations: 166.4 kB / 0.881 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.533, allocations: 0 / 0.881 GB, free: 4.668 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)