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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001219, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 222.1 MB, free: 5.406 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.878/1.878, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005251/0.0005251, allocations: 13.72 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2935, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001853/0.2954, allocations: 1.152 MB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.2963, allocations: 365 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.2964, allocations: 0 / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.2964, allocations: 0 / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.2965, allocations: 3.938 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.297, allocations: 78.59 kB / 0.789 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.963e-05/0.2971, allocations: 23.92 kB / 0.789 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2972, allocations: 7.984 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.2973, allocations: 11.92 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.2973, allocations: 8 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2974, allocations: 0 / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.2978, allocations: 267.6 kB / 0.7893 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.2979, allocations: 0 / 0.7893 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.2979, allocations: 37.64 kB / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.2981, allocations: 71.86 kB / 0.7894 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2981, allocations: 0 / 0.7894 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.617e-06/0.2981, allocations: 0 / 0.7894 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2982, allocations: 0 / 0.7894 GB, free: 9.836 MB / 0.6075 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.0005811/0.2987, allocations: 367.5 kB / 0.7897 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.2988, allocations: 8.031 kB / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.2989, allocations: 38.55 kB / 0.7898 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.933e-05/0.299, allocations: 4 kB / 0.7898 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2991, allocations: 170.9 kB / 0.7899 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2991, allocations: 0 / 0.7899 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.2992, allocations: 4 kB / 0.7899 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.2994, allocations: 57.61 kB / 0.79 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2995, allocations: 0 / 0.79 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2995, allocations: 0 / 0.79 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2995, allocations: 4 kB / 0.79 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.2997, allocations: 43.95 kB / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.3003, allocations: 252.9 kB / 0.7903 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3005, allocations: 46.55 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.635e-05/0.3006, allocations: 24.91 kB / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009803/0.3016, allocations: 473.4 kB / 0.7908 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/0.3016, allocations: 30.56 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.3016, allocations: 0 / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0005505/0.3022, allocations: 97.66 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.3023, allocations: 55.39 kB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3024, allocations: 106 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3025, allocations: 25.7 kB / 0.7911 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.3026, allocations: 84.12 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3026, allocations: 11.84 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.3026, allocations: 0 / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3028, allocations: 322.7 kB / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3029, allocations: 19.98 kB / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.303, allocations: 27.92 kB / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.715e-05/0.3031, allocations: 23.97 kB / 0.7916 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3032, allocations: 0 / 0.7916 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003405/0.3035, allocations: 77.73 kB / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.3035, allocations: 7.938 kB / 0.7916 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.3036, allocations: 3.984 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3036, allocations: 0 / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3037, allocations: 12 kB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3037, allocations: 32 / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.3038, allocations: 11.98 kB / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.3038, allocations: 256 / 0.7917 GB, free: 7.156 MB / 0.6075 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 () * Number of clocked 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 0.000148/0.304, allocations: 117.8 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.021e-05/0.3041, allocations: 3.906 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.3044, allocations: 93.12 kB / 0.7919 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3044, allocations: 3.984 kB / 0.7919 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3044, allocations: 4 kB / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3044, allocations: 0 / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.3046, allocations: 157.6 kB / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.3046, allocations: 0 / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.3047, allocations: 11.98 kB / 0.792 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3047, allocations: 8.031 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.3047, allocations: 0 / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3047, allocations: 0 / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3047, allocations: 0 / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.305, allocations: 183.4 kB / 0.7922 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.3051, allocations: 81.02 kB / 0.7923 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3051, allocations: 0 / 0.7923 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.3052, allocations: 11.98 kB / 0.7923 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.3053, allocations: 3.984 kB / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3053, allocations: 0 / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.08e-05/0.3053, allocations: 87.27 kB / 0.7924 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3053, allocations: 4.031 kB / 0.7924 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002518/0.3056, allocations: 16 kB / 0.7924 GB, free: 6.281 MB / 0.6075 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 () * Number of clocked 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.0007022/0.3063, allocations: 0.7202 MB / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.3066, allocations: 47.91 kB / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3066, allocations: 0 / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.3067, allocations: 28.08 kB / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.307, allocations: 7.938 kB / 0.7932 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.3075, allocations: 150.3 kB / 0.7933 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3078, allocations: 0.6771 MB / 0.794 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.3078, allocations: 8 kB / 0.794 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.3079, allocations: 11.44 kB / 0.794 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.3079, allocations: 0 / 0.794 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.3205, allocations: 1.323 MB / 0.7953 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.3207, allocations: 187.8 kB / 0.7955 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.288, allocations: 0 / 0.7955 GB, free: 3.102 MB / 0.6075 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) Environment - environmentSimulation: