Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.566/2.566, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001361/0.001361, allocations: 176.6 kB / 326.3 MB, free: 2.871 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.576/2.576, allocations: 205.4 MB / 0.5772 GB, free: 20.74 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.0009675/0.0009675, allocations: 93.53 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004604, allocations: 12.41 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007278/0.2142, allocations: 322.4 kB / 0.8998 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.2149, allocations: 300.4 kB / 0.9001 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.414e-05/0.2149, allocations: 0 / 0.9001 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.215, allocations: 3.938 kB / 0.9001 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-06/0.215, allocations: 0 / 0.9001 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.2154, allocations: 72.86 kB / 0.9002 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.494e-05/0.2155, allocations: 3.984 kB / 0.9002 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.2155, allocations: 0 / 0.9002 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.315e-05/0.2155, allocations: 0 / 0.9002 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.498e-05/0.2156, allocations: 4 kB / 0.9002 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.2156, allocations: 0 / 0.9002 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.2161, allocations: 263.6 kB / 0.9004 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.2161, allocations: 0 / 0.9004 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.2162, allocations: 25.7 kB / 0.9005 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.2163, allocations: 63.89 kB / 0.9005 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2163, allocations: 4 kB / 0.9005 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2163, allocations: 0 / 0.9005 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2163, allocations: 0 / 0.9005 GB, free: 64.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002438/0.2166, allocations: 327.5 kB / 0.9008 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2167, allocations: 8.031 kB / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.2167, allocations: 0.9375 kB / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.347e-05/0.2168, allocations: 164.3 kB / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2168, allocations: 4.375 kB / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.2168, allocations: 384 / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.942e-05/0.2169, allocations: 34.25 kB / 0.901 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.217, allocations: 192 / 0.901 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.217, allocations: 3.938 kB / 0.901 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.217, allocations: 0 / 0.901 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.217, allocations: 4 kB / 0.9011 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.2171, allocations: 149.7 kB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.496e-05/0.2172, allocations: 22.55 kB / 0.9012 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.2172, allocations: 8.859 kB / 0.9012 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000549/0.2178, allocations: 429.5 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2178, allocations: 30.56 kB / 0.9017 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.774e-06/0.2178, allocations: 0 / 0.9017 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001645/0.218, allocations: 45.62 kB / 0.9017 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.218, allocations: 55.44 kB / 0.9018 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.025e-05/0.2181, allocations: 93.86 kB / 0.9018 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.2181, allocations: 25.7 kB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.494e-05/0.2181, allocations: 80.14 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.2181, allocations: 3.938 kB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.2182, allocations: 0 / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.2182, allocations: 310.8 kB / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.2182, allocations: 0 / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.2183, allocations: 8 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.863e-05/0.2183, allocations: 0 / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2183, allocations: 0 / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.67e-05/0.2184, allocations: 41.69 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2184, allocations: 4 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2184, allocations: 0 / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2184, allocations: 3.938 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.2185, allocations: 0 / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2185, allocations: 7.984 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.2185, allocations: 8.031 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.2186, allocations: 0 / 0.9023 GB, free: 62.36 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 (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 5.239e-05/0.2186, allocations: 105.8 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.2187, allocations: 3.938 kB / 0.9024 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.2188, allocations: 40.81 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2188, allocations: 3.938 kB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2188, allocations: 0 / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.2188, allocations: 81.11 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2188, allocations: 4.031 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.141e-05/0.2189, allocations: 4 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.2189, allocations: 0 / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.502e-05/0.219, allocations: 116.9 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001078/0.2191, allocations: 202.8 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.991e-05/0.2191, allocations: 7.922 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.541e-05/0.2192, allocations: 83.34 kB / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of Backend: time 7.32e-07/0.2192, allocations: 0 / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005361/0.2197, allocations: 110.4 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002486/0.22, allocations: 0.5233 MB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.003945/0.2239, allocations: 1.038 MB / 0.9046 GB, free: 59.93 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)