Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8884/0.8884, allocations: 143.4 MB / 159.2 MB, free: 4.883 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 193.8 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 111.7 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001856/0.001856, allocations: 286.8 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001509, allocations: 83.89 kB / 0.6885 GB, free: 3.812 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.328, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001545/0.3296, allocations: 0.6334 MB / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005596/0.3302, allocations: 360.1 kB / 0.7689 GB, free: 26.67 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-06/0.3302, allocations: 4 kB / 0.7689 GB, free: 26.67 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.3302, allocations: 0 / 0.7689 GB, free: 26.67 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.3302, allocations: 3.938 kB / 0.7689 GB, free: 26.66 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.3306, allocations: 67.88 kB / 0.769 GB, free: 26.6 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.3306, allocations: 3.984 kB / 0.769 GB, free: 26.59 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.3307, allocations: 3.984 kB / 0.769 GB, free: 26.59 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.3307, allocations: 0 / 0.769 GB, free: 26.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.628e-05/0.3307, allocations: 4 kB / 0.769 GB, free: 26.59 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3307, allocations: 0 / 0.769 GB, free: 26.59 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.3311, allocations: 267.7 kB / 0.7692 GB, free: 26.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.3311, allocations: 0 / 0.7692 GB, free: 26.32 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.3311, allocations: 0 / 0.7692 GB, free: 26.32 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.3313, allocations: 95.78 kB / 0.7693 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3313, allocations: 4 kB / 0.7693 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3313, allocations: 0 / 0.7693 GB, free: 26.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3313, allocations: 0 / 0.7693 GB, free: 26.23 MB / 458.7 MB 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.0002742/0.3316, allocations: 327.6 kB / 0.7696 GB, free: 25.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3316, allocations: 12.03 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.3317, allocations: 0.9375 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.217e-05/0.3317, allocations: 160.4 kB / 0.7698 GB, free: 25.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3318, allocations: 4.375 kB / 0.7698 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.3318, allocations: 384 / 0.7698 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.646e-05/0.3319, allocations: 42.19 kB / 0.7699 GB, free: 25.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3319, allocations: 192 / 0.7699 GB, free: 25.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3319, allocations: 3.938 kB / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3319, allocations: 0 / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.406e-05/0.3319, allocations: 0 / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.3321, allocations: 145.7 kB / 0.77 GB, free: 25.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.918e-05/0.3321, allocations: 18.58 kB / 0.77 GB, free: 25.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.3322, allocations: 16.89 kB / 0.77 GB, free: 25.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/0.3326, allocations: 425.5 kB / 0.7704 GB, free: 24.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3327, allocations: 38.56 kB / 0.7705 GB, free: 24.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.794e-06/0.3327, allocations: 0 / 0.7705 GB, free: 24.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.3329, allocations: 33.64 kB / 0.7705 GB, free: 24.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.3329, allocations: 55.53 kB / 0.7706 GB, free: 24.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.907e-05/0.3329, allocations: 89.86 kB / 0.7706 GB, free: 24.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.333, allocations: 25.7 kB / 0.7707 GB, free: 24.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/0.333, allocations: 80.14 kB / 0.7707 GB, free: 24.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.333, allocations: 4 kB / 0.7707 GB, free: 24.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.3331, allocations: 9.719 kB / 0.7708 GB, free: 24.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.3331, allocations: 322.8 kB / 0.7711 GB, free: 24.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.3332, allocations: 0 / 0.7711 GB, free: 24.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-06/0.3332, allocations: 15.94 kB / 0.7711 GB, free: 24.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.3332, allocations: 4.859 kB / 0.7711 GB, free: 24.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3332, allocations: 7.938 kB / 0.7711 GB, free: 24.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.275e-05/0.3333, allocations: 29.7 kB / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3333, allocations: 5.719 kB / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3333, allocations: 3.984 kB / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3333, allocations: 3.938 kB / 0.7711 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.3334, allocations: 4 kB / 0.7711 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.3334, allocations: 3.984 kB / 0.7711 GB, free: 24.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.172e-05/0.3334, allocations: 6.766 kB / 0.7711 GB, free: 24.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.3334, allocations: 0 / 0.7711 GB, free: 24.05 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.3335, allocations: 118.6 kB / 0.7713 GB, free: 23.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3335, allocations: 0 / 0.7713 GB, free: 23.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.406e-05/0.3336, allocations: 40.67 kB / 0.7713 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3336, allocations: 3.984 kB / 0.7713 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3336, allocations: 3.984 kB / 0.7713 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3336, allocations: 0 / 0.7713 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.521e-05/0.3337, allocations: 149.7 kB / 0.7714 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3337, allocations: 0 / 0.7714 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.3337, allocations: 0 / 0.7714 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.3337, allocations: 0 / 0.7714 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3337, allocations: 11.94 kB / 0.7715 GB, free: 23.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3337, allocations: 0 / 0.7715 GB, free: 23.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3337, allocations: 0 / 0.7715 GB, free: 23.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3339, allocations: 0.6045 MB / 0.7721 GB, free: 23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.3339, allocations: 81.11 kB / 0.7721 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-06/0.3339, allocations: 0 / 0.7721 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.334, allocations: 0 / 0.7721 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-06/0.334, allocations: 3.938 kB / 0.7721 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.334, allocations: 0 / 0.7721 GB, free: 22.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.104e-05/0.334, allocations: 75.28 kB / 0.7722 GB, free: 22.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.334, allocations: 0 / 0.7722 GB, free: 22.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003465/0.3344, allocations: 16 kB / 0.7722 GB, free: 22.81 MB / 458.7 MB 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 (1): * Single equations (assignments): 1 * 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.0001453/0.3345, allocations: 115.2 kB / 0.7723 GB, free: 22.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.903e-05/0.3346, allocations: 8 kB / 0.7723 GB, free: 22.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3346, allocations: 0 / 0.7723 GB, free: 22.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.3346, allocations: 4 kB / 0.7723 GB, free: 22.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.3347, allocations: 5.25 kB / 0.7723 GB, free: 22.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.3349, allocations: 177.8 kB / 0.7725 GB, free: 22.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.335, allocations: 0.6731 MB / 0.7732 GB, free: 21.76 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.862e-05/0.335, allocations: 0 / 0.7732 GB, free: 21.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.068e-05/0.335, allocations: 11.44 kB / 0.7732 GB, free: 21.75 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3351, allocations: 3.938 kB / 0.7732 GB, free: 21.74 MB / 458.7 MB Notification: Performance of Templates: time 0.002143/0.3372, allocations: 454.2 kB / 0.7736 GB, free: 21.3 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)