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.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001325/0.001325, allocations: 181.5 kB / 326.5 MB, free: 2.246 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.627/1.627, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0007838/0.0007838, allocations: 106.2 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003349, allocations: 9.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2301, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001505/0.2316, allocations: 1.156 MB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006065/0.2322, allocations: 356.9 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.2323, allocations: 0 / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.2323, allocations: 3.938 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.2324, allocations: 7.984 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.2327, allocations: 63.8 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.2328, allocations: 15.98 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.959e-05/0.2329, allocations: 3.984 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.2329, allocations: 11.94 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.233, allocations: 15.97 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.233, allocations: 0 / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.2333, allocations: 259.6 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.2333, allocations: 7.938 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.2333, allocations: 29.7 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2335, allocations: 59.88 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2335, allocations: 8 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2335, allocations: 0 / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2335, allocations: 0 / 0.9021 GB, free: 61.84 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.0004042/0.2339, allocations: 368.1 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.234, allocations: 12.03 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.234, allocations: 30.56 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.2341, allocations: 3.906 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.129e-05/0.2342, allocations: 175 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.2342, allocations: 0 / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.2342, allocations: 0 / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.2344, allocations: 61.61 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.2344, allocations: 0 / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.2344, allocations: 4 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2344, allocations: 0 / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.2346, allocations: 47.95 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.2349, allocations: 248.9 kB / 0.903 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.235, allocations: 50.53 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005409/0.2356, allocations: 461.5 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.2356, allocations: 30.56 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.2356, allocations: 4 kB / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003688/0.236, allocations: 97.64 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.236, allocations: 51.53 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.307e-05/0.2361, allocations: 109.8 kB / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.2361, allocations: 25.7 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.2361, allocations: 92.05 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.2361, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.2361, allocations: 3.938 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.2362, allocations: 318.8 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.2363, allocations: 27.98 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.2364, allocations: 15.98 kB / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.254e-05/0.2364, allocations: 23.98 kB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2364, allocations: 0 / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.2366, allocations: 81.62 kB / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2367, allocations: 8 kB / 0.9043 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2367, allocations: 0 / 0.9043 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2367, allocations: 0 / 0.9043 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.2368, allocations: 12.02 kB / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2368, allocations: 4 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.2369, allocations: 15.98 kB / 0.9044 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.2369, allocations: 0 / 0.9044 GB, free: 59.19 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 4.72e-05/0.2369, allocations: 113.7 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.237, allocations: 4 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.2372, allocations: 85.19 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2372, allocations: 0 / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2372, allocations: 0 / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2372, allocations: 3.938 kB / 0.9046 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.2373, allocations: 169.6 kB / 0.9047 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2373, allocations: 0 / 0.9047 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.2374, allocations: 16.02 kB / 0.9047 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2374, allocations: 0 / 0.9047 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2374, allocations: 3.984 kB / 0.9047 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2374, allocations: 0 / 0.9047 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2374, allocations: 4 kB / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.2377, allocations: 187.5 kB / 0.9049 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.2377, allocations: 81.05 kB / 0.905 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2377, allocations: 8 kB / 0.905 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.2378, allocations: 7.984 kB / 0.905 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.2378, allocations: 0 / 0.905 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2378, allocations: 4 kB / 0.905 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.358e-05/0.2379, allocations: 91.3 kB / 0.9051 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2379, allocations: 0 / 0.9051 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002278/0.2381, allocations: 12 kB / 0.9051 GB, free: 58.32 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.0004152/0.2385, allocations: 0.7163 MB / 0.9058 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.2387, allocations: 51.95 kB / 0.9059 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2387, allocations: 4.094 kB / 0.9059 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.795e-05/0.2388, allocations: 19.98 kB / 0.9059 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.239, allocations: 6.062 kB / 0.9059 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.2394, allocations: 142.4 kB / 0.906 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.2395, allocations: 0.6888 MB / 0.9067 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.2396, allocations: 3.938 kB / 0.9067 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.2396, allocations: 11.44 kB / 0.9067 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2396, allocations: 0 / 0.9067 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.251, allocations: 1.318 MB / 0.908 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.2512, allocations: 196.2 kB / 0.9082 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.832, allocations: 0 / 0.9082 GB, free: 55.16 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)