Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.589/1.589, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 182.5 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 0.5777 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007629/0.0007636, allocations: 88.08 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005846/0.0005848, allocations: 9.719 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2744, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001721/0.2762, allocations: 1.164 MB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.277, allocations: 352.1 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.2771, allocations: 0 / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.2772, allocations: 3.938 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2773, allocations: 0 / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.2779, allocations: 75.78 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.962e-05/0.278, allocations: 23.92 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2782, allocations: 11.98 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.2782, allocations: 4 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.2783, allocations: 19.91 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2783, allocations: 0 / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.2788, allocations: 263.7 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.2789, allocations: 4 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.2789, allocations: 25.7 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.2791, allocations: 67.88 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.2792, allocations: 0 / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.517e-06/0.2792, allocations: 0 / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.2792, allocations: 0 / 0.9023 GB, free: 61.77 MB / 0.6042 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.0006591/0.2798, allocations: 371.6 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.2799, allocations: 8.031 kB / 0.9026 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.28, allocations: 38.48 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.2801, allocations: 3.906 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.2803, allocations: 167 kB / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2803, allocations: 4 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.2803, allocations: 4 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.2806, allocations: 61.67 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2806, allocations: 0 / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2806, allocations: 0 / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.2806, allocations: 0 / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.2809, allocations: 47.95 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.2814, allocations: 248.9 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.2816, allocations: 46.55 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.2817, allocations: 32.91 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/0.2824, allocations: 457.5 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2824, allocations: 34.56 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.2824, allocations: 0 / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004998/0.2829, allocations: 105.5 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.283, allocations: 55.41 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.2831, allocations: 109.8 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.2831, allocations: 25.7 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.2831, allocations: 88.05 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.2831, allocations: 3.984 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.2832, allocations: 4.125 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.2832, allocations: 314.8 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/0.2833, allocations: 19.98 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.2834, allocations: 19.98 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.283e-05/0.2835, allocations: 32.03 kB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2835, allocations: 0 / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002214/0.2837, allocations: 77.52 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.2838, allocations: 15.97 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2838, allocations: 0 / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.2838, allocations: 0 / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2839, allocations: 11.98 kB / 0.9046 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-06/0.2839, allocations: 0 / 0.9046 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.284, allocations: 11.98 kB / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.284, allocations: 3.953 kB / 0.9046 GB, free: 59.08 MB / 0.6042 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 7.516e-05/0.2841, allocations: 113.8 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.2842, allocations: 4 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.2844, allocations: 81.17 kB / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2844, allocations: 0 / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.2845, allocations: 8.016 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2845, allocations: 3.938 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.2846, allocations: 173.6 kB / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2846, allocations: 0 / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.2847, allocations: 11.98 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2847, allocations: 0 / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2847, allocations: 0 / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2847, allocations: 0 / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2847, allocations: 4 kB / 0.905 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.285, allocations: 179.4 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.285, allocations: 81.05 kB / 0.9052 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.285, allocations: 4.25 kB / 0.9052 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.2851, allocations: 16.02 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.2852, allocations: 0 / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.2852, allocations: 4 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.2853, allocations: 87.27 kB / 0.9053 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2853, allocations: 0 / 0.9053 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002286/0.2855, allocations: 12 kB / 0.9053 GB, free: 58.21 MB / 0.6042 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.0005112/0.286, allocations: 0.7201 MB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.2862, allocations: 51.98 kB / 0.9061 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2862, allocations: 0 / 0.9061 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.2863, allocations: 27.92 kB / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.2866, allocations: 1.391 kB / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.287, allocations: 162.2 kB / 0.9063 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.2872, allocations: 0.6731 MB / 0.9069 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.2872, allocations: 0 / 0.9069 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.2872, allocations: 15.42 kB / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2873, allocations: 0 / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.3001, allocations: 1.34 MB / 0.9082 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.3003, allocations: 191.5 kB / 0.9084 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/1.865, allocations: 0 / 0.9084 GB, free: 55.04 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)