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.363/1.363, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009376/0.0009376, allocations: 175.3 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0008222/0.000822, allocations: 84.55 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 9.562 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2053, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00163/0.207, allocations: 1.176 MB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007383/0.2078, allocations: 395.7 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.2078, allocations: 0 / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.2079, allocations: 0 / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.977e-05/0.2079, allocations: 7.938 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.2083, allocations: 79.84 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.2084, allocations: 19.92 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.2085, allocations: 4 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.2086, allocations: 15.92 kB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.2086, allocations: 11.92 kB / 0.9026 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.2086, allocations: 0 / 0.9026 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.209, allocations: 275.6 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.209, allocations: 0 / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.2091, allocations: 37.64 kB / 0.9029 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.2093, allocations: 103.8 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2093, allocations: 0 / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2093, allocations: 0 / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.2093, allocations: 0 / 0.903 GB, free: 61.32 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.0004398/0.2097, allocations: 363.8 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2098, allocations: 8.031 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.2098, allocations: 38.75 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.2099, allocations: 4.844 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/0.21, allocations: 168.4 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.21, allocations: 4.375 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.21, allocations: 4.312 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.2102, allocations: 54.23 kB / 0.9036 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2102, allocations: 3.938 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.2102, allocations: 0 / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2103, allocations: 4 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.2104, allocations: 55.88 kB / 0.9036 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2107, allocations: 249 kB / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.2109, allocations: 54.44 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.177e-05/0.211, allocations: 20.91 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/0.2115, allocations: 473.4 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.2115, allocations: 30.56 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.2115, allocations: 0 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003574/0.2119, allocations: 105.5 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.2119, allocations: 51.41 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.212, allocations: 113.9 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.212, allocations: 25.7 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.2121, allocations: 84.12 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.2121, allocations: 7.906 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.2121, allocations: 4 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.223e-05/0.2121, allocations: 310.8 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.2122, allocations: 19.98 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.2123, allocations: 27.97 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.2124, allocations: 44.89 kB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2124, allocations: 7.938 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/0.2127, allocations: 81.66 kB / 0.9053 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2127, allocations: 6.969 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2127, allocations: 0 / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2127, allocations: 0 / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.496e-05/0.2128, allocations: 19.95 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2128, allocations: 4 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.2129, allocations: 4 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2129, allocations: 3.984 kB / 0.9053 GB, free: 58.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/0.2129, allocations: 117.8 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.213, allocations: 0 / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.2132, allocations: 89.19 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.2132, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2132, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2132, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.2134, allocations: 165.5 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2134, allocations: 4.031 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.2134, allocations: 12 kB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.2134, allocations: 7.938 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.2135, allocations: 0 / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2135, allocations: 7.922 kB / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2135, allocations: 0 / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.2137, allocations: 175.5 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.2137, allocations: 81.05 kB / 0.9059 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.2137, allocations: 7.938 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.2138, allocations: 8 kB / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.2139, allocations: 4.016 kB / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.2139, allocations: 4 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.277e-05/0.2139, allocations: 79.53 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2139, allocations: 0 / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002094/0.2141, allocations: 16 kB / 0.9061 GB, free: 57.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004691/0.2146, allocations: 0.7279 MB / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.2148, allocations: 48 kB / 0.9068 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2148, allocations: 0 / 0.9068 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.2149, allocations: 31.97 kB / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.2152, allocations: 0 / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.2156, allocations: 146.4 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.2157, allocations: 0.677 MB / 0.9076 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.2157, allocations: 4 kB / 0.9077 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.2158, allocations: 11.44 kB / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Performance of SimCode: time 7.42e-07/0.2158, allocations: 0 / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.2274, allocations: 1.352 MB / 0.909 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.2276, allocations: 206.1 kB / 0.9092 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/1.814, allocations: 4 kB / 0.9092 GB, free: 54.52 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)