Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9458/0.9458, allocations: 143.4 MB / 159.2 MB, free: 4.871 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.001595/0.001596, allocations: 183.7 kB / 191.9 MB, free: 5.695 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.463/1.463, allocations: 222.9 MB / 447.3 MB, free: 5.859 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.001131/0.001131, allocations: 115 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 283.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 79.88 kB / 0.6885 GB, free: 3.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3145, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001739/0.3163, allocations: 0.6613 MB / 0.7686 GB, free: 26.99 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.3167, allocations: 93.73 kB / 0.7687 GB, free: 26.9 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.194e-05/0.3167, allocations: 8 kB / 0.7687 GB, free: 26.89 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.3167, allocations: 0 / 0.7687 GB, free: 26.89 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.3168, allocations: 0 / 0.7687 GB, free: 26.89 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.317, allocations: 19.97 kB / 0.7687 GB, free: 26.88 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.317, allocations: 4 kB / 0.7687 GB, free: 26.87 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.3171, allocations: 7.938 kB / 0.7687 GB, free: 26.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.038e-05/0.3171, allocations: 4 kB / 0.7687 GB, free: 26.86 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.097e-05/0.3172, allocations: 3.984 kB / 0.7687 GB, free: 26.86 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3172, allocations: 3.938 kB / 0.7687 GB, free: 26.85 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.287e-05/0.3173, allocations: 15.98 kB / 0.7687 GB, free: 26.84 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.3173, allocations: 4 kB / 0.7687 GB, free: 26.83 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.3173, allocations: 4 kB / 0.7687 GB, free: 26.83 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.321e-05/0.3174, allocations: 15.97 kB / 0.7688 GB, free: 26.81 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3174, allocations: 0 / 0.7688 GB, free: 26.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3174, allocations: 0 / 0.7688 GB, free: 26.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3174, allocations: 0 / 0.7688 GB, free: 26.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002766/0.3177, allocations: 319.6 kB / 0.7691 GB, free: 26.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3177, allocations: 8.031 kB / 0.7691 GB, free: 26.44 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.3179, allocations: 12.86 kB / 0.7691 GB, free: 26.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.669e-05/0.318, allocations: 167.1 kB / 0.7692 GB, free: 26.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.318, allocations: 8.375 kB / 0.7692 GB, free: 26.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.318, allocations: 384 / 0.7692 GB, free: 26.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.3181, allocations: 34.25 kB / 0.7693 GB, free: 26.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3181, allocations: 192 / 0.7693 GB, free: 26.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3181, allocations: 11.91 kB / 0.7693 GB, free: 26.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3182, allocations: 0 / 0.7693 GB, free: 26.17 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-05/0.3182, allocations: 19.92 kB / 0.7693 GB, free: 26.15 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.3184, allocations: 153.7 kB / 0.7695 GB, free: 25.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3185, allocations: 42.66 kB / 0.7695 GB, free: 25.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.3186, allocations: 12.8 kB / 0.7695 GB, free: 25.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.3186, allocations: 0 / 0.7695 GB, free: 25.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.3186, allocations: 38.55 kB / 0.7695 GB, free: 25.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3186, allocations: 4 kB / 0.7696 GB, free: 25.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001826/0.3188, allocations: 57.56 kB / 0.7696 GB, free: 25.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.3188, allocations: 51.41 kB / 0.7697 GB, free: 25.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.725e-05/0.3188, allocations: 89.86 kB / 0.7697 GB, free: 25.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.3189, allocations: 25.7 kB / 0.7698 GB, free: 25.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.396e-05/0.3189, allocations: 88.12 kB / 0.7698 GB, free: 25.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3189, allocations: 11.81 kB / 0.7699 GB, free: 25.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.3189, allocations: 13.72 kB / 0.7699 GB, free: 25.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.319, allocations: 314.8 kB / 0.7702 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.972e-05/0.319, allocations: 11.98 kB / 0.7702 GB, free: 25.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.3191, allocations: 4 kB / 0.7702 GB, free: 25.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.737e-05/0.3192, allocations: 28.78 kB / 0.7702 GB, free: 25.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3192, allocations: 0 / 0.7702 GB, free: 25.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.365e-05/0.3193, allocations: 45.69 kB / 0.7703 GB, free: 25.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3193, allocations: 4 kB / 0.7703 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3193, allocations: 8 kB / 0.7703 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3193, allocations: 7.922 kB / 0.7703 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.3197, allocations: 39.94 kB / 0.7703 GB, free: 24.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000937/0.3207, allocations: 1.302 MB / 0.7716 GB, free: 23.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.3207, allocations: 7.938 kB / 0.7716 GB, free: 23.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.3207, allocations: 0 / 0.7716 GB, free: 23.55 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.3208, allocations: 115.9 kB / 0.7717 GB, free: 23.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.3208, allocations: 15.86 kB / 0.7717 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.147e-05/0.3208, allocations: 3.5 kB / 0.7717 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3208, allocations: 0 / 0.7717 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-07/0.3208, allocations: 0 / 0.7717 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3208, allocations: 4.062 kB / 0.7717 GB, free: 23.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.028e-05/0.3209, allocations: 161.5 kB / 0.7719 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3209, allocations: 0 / 0.7719 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.3213, allocations: 43.94 kB / 0.7719 GB, free: 23.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3213, allocations: 0 / 0.7719 GB, free: 23.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3213, allocations: 3.984 kB / 0.7719 GB, free: 23.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000765/0.322, allocations: 1.314 MB / 0.7732 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3221, allocations: 0 / 0.7732 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.3223, allocations: 0.628 MB / 0.7738 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.3223, allocations: 77.11 kB / 0.7739 GB, free: 20.92 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-06/0.3223, allocations: 4 kB / 0.7739 GB, free: 20.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.773e-05/0.3224, allocations: 3.938 kB / 0.7739 GB, free: 20.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.3224, allocations: 0 / 0.7739 GB, free: 20.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.3224, allocations: 3.938 kB / 0.7739 GB, free: 20.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.132e-05/0.3224, allocations: 75.28 kB / 0.774 GB, free: 20.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3224, allocations: 4 kB / 0.774 GB, free: 20.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000282/0.3227, allocations: 4 kB / 0.774 GB, free: 20.83 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.861e-05/0.3228, allocations: 111.2 kB / 0.7741 GB, free: 20.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004315/0.3232, allocations: 55.92 kB / 0.7741 GB, free: 20.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3233, allocations: 0 / 0.7741 GB, free: 20.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.3235, allocations: 43.94 kB / 0.7742 GB, free: 20.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.3236, allocations: 0 / 0.7742 GB, free: 20.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.3239, allocations: 209.8 kB / 0.7744 GB, free: 20.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.726e-05/0.324, allocations: 0.6731 MB / 0.775 GB, free: 19.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.3241, allocations: 12.16 kB / 0.7751 GB, free: 19.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.3241, allocations: 15.42 kB / 0.7751 GB, free: 19.64 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3241, allocations: 0 / 0.7751 GB, free: 19.64 MB / 458.7 MB Notification: Performance of Templates: time 0.001854/0.326, allocations: 407.1 kB / 0.7755 GB, free: 19.24 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)