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.577/1.577, allocations: 289.7 MB / 302.2 MB, free: 2.094 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.001158/0.001158, allocations: 183.2 kB / 371.6 MB, free: 3.34 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.654/1.654, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001153/0.001153, allocations: 96.64 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.187e-05, allocations: 8 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.314, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.317, allocations: 138.8 MB / 1.115 GB, free: 44.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.317, allocations: 71.97 kB / 1.116 GB, free: 44.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01028/1.328, allocations: 4.009 MB / 1.119 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.844e-06/1.328, allocations: 0 / 1.119 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.232e-06/1.328, allocations: 0 / 1.119 GB, free: 42.53 MB / 0.7448 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.0002309/1.328, allocations: 344.9 kB / 1.12 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.328, allocations: 8.031 kB / 1.12 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/1.328, allocations: 35.16 kB / 1.12 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/1.328, allocations: 1.719 kB / 1.12 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.514e-05/1.328, allocations: 166.5 kB / 1.12 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/1.328, allocations: 6.734 kB / 1.12 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/1.328, allocations: 5.906 kB / 1.12 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.925e-05/1.328, allocations: 25.7 kB / 1.12 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/1.328, allocations: 0 / 1.12 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/1.328, allocations: 0.6562 kB / 1.12 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/1.328, allocations: 4 kB / 1.12 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/1.328, allocations: 0.9375 kB / 1.12 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/1.328, allocations: 153.4 kB / 1.12 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.17e-05/1.328, allocations: 26.55 kB / 1.12 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/1.328, allocations: 4.859 kB / 1.12 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003878/1.329, allocations: 422.5 kB / 1.121 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/1.329, allocations: 38.64 kB / 1.121 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/1.329, allocations: 0 / 1.121 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001174/1.329, allocations: 29.7 kB / 1.121 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/1.329, allocations: 51.41 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.695e-05/1.329, allocations: 92.31 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/1.329, allocations: 25.7 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.19e-05/1.329, allocations: 84.64 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/1.329, allocations: 2.031 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-06/1.329, allocations: 0 / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.331e-05/1.329, allocations: 314.9 kB / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-06/1.329, allocations: 0 / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/1.329, allocations: 4 kB / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.821e-05/1.329, allocations: 3.891 kB / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/1.329, allocations: 0 / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.415e-05/1.329, allocations: 40.91 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.329, allocations: 4 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.329, allocations: 0 / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.329, allocations: 4.031 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/1.329, allocations: 5.25 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.329, allocations: 4 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-06/1.329, allocations: 0 / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/1.329, allocations: 0 / 1.121 GB, free: 40.41 MB / 0.7448 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.817e-05/1.329, allocations: 109.9 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/1.33, allocations: 3.953 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.408e-05/1.33, allocations: 38.33 kB / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.33, allocations: 4.531 kB / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.33, allocations: 0 / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.33, allocations: 3.516 kB / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.289e-05/1.33, allocations: 144.9 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.33, allocations: 0.5625 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/1.33, allocations: 4 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.33, allocations: 3.953 kB / 1.122 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/1.33, allocations: 0.6875 kB / 1.122 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/1.33, allocations: 0 / 1.122 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.33, allocations: 0 / 1.122 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.349e-05/1.33, allocations: 67.61 kB / 1.122 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/1.33, allocations: 78.98 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/1.33, allocations: 3.953 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-06/1.33, allocations: 0.625 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/1.33, allocations: 7.516 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/1.33, allocations: 0.75 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.582e-05/1.33, allocations: 75.28 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/1.33, allocations: 32 / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002083/1.33, allocations: 19.94 kB / 1.122 GB, free: 39.78 MB / 0.7448 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.0003043/1.33, allocations: 0.611 MB / 1.122 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.166e-05/1.331, allocations: 7.438 kB / 1.122 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.331, allocations: 96 / 1.122 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-06/1.331, allocations: 4 kB / 1.122 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.44e-05/1.331, allocations: 4.516 kB / 1.122 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/1.331, allocations: 82.06 kB / 1.122 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/1.331, allocations: 0.6764 MB / 1.123 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.71e-05/1.331, allocations: 0 / 1.123 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.416e-05/1.331, allocations: 7.438 kB / 1.123 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/1.331, allocations: 0.8438 kB / 1.123 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/1.343, allocations: 0.9697 MB / 1.124 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/1.343, allocations: 165 kB / 1.124 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.952, allocations: 3.938 kB / 1.124 GB, free: 37.59 MB / 0.7448 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)