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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006764/0.0006764, allocations: 98.27 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006939/0.0006939, allocations: 172.9 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001572/0.001572, allocations: 270.9 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8268/0.8268, allocations: 169.5 MB / 0.5004 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 19.62 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0005343/0.1228, allocations: 317.4 kB / 0.6855 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00025/0.1231, allocations: 96.52 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.064e-05/0.1231, allocations: 4 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.137e-06/0.1231, allocations: 0 / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.804e-05/0.1231, allocations: 1.219 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.1233, allocations: 15.98 kB / 0.6857 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.314e-05/0.1233, allocations: 6.312 kB / 0.6857 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.1234, allocations: 7.984 kB / 0.6857 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.1234, allocations: 8 kB / 0.6857 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.1234, allocations: 3.984 kB / 0.6857 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.1235, allocations: 0 / 0.6857 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.648e-05/0.1235, allocations: 15.98 kB / 0.6857 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.1235, allocations: 6.75 kB / 0.6857 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.1236, allocations: 33.64 kB / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.878e-05/0.1236, allocations: 11.92 kB / 0.6857 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.1236, allocations: 0 / 0.6857 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1236, allocations: 0 / 0.6857 GB, free: 14.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.545e-06/0.1236, allocations: 0 / 0.6857 GB, free: 14.44 MB / 494.1 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.0002537/0.1239, allocations: 319.9 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1239, allocations: 9.5 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.124, allocations: 34.75 kB / 0.6861 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.1241, allocations: 11.08 kB / 0.6861 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.023e-05/0.1242, allocations: 164.3 kB / 0.6863 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1242, allocations: 384 / 0.6863 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.1242, allocations: 384 / 0.6863 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.1243, allocations: 46.23 kB / 0.6863 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1243, allocations: 4.562 kB / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.1244, allocations: 0 / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1244, allocations: 0.6562 kB / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.345e-05/0.1244, allocations: 27.42 kB / 0.6863 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.1246, allocations: 149.7 kB / 0.6865 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1247, allocations: 38.59 kB / 0.6865 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.1248, allocations: 8.922 kB / 0.6865 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1248, allocations: 8.734 kB / 0.6865 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1248, allocations: 31.22 kB / 0.6866 GB, free: 13.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1248, allocations: 0 / 0.6866 GB, free: 13.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001751/0.125, allocations: 62.91 kB / 0.6866 GB, free: 13.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.125, allocations: 55.39 kB / 0.6867 GB, free: 13.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.423e-05/0.1251, allocations: 90.58 kB / 0.6868 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.1251, allocations: 25.7 kB / 0.6868 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.1251, allocations: 84.84 kB / 0.6869 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.1251, allocations: 9.781 kB / 0.6869 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.1252, allocations: 17.72 kB / 0.6869 GB, free: 13.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.1253, allocations: 310.8 kB / 0.6872 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/0.1253, allocations: 7.984 kB / 0.6872 GB, free: 12.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.1253, allocations: 4.812 kB / 0.6872 GB, free: 12.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/0.1254, allocations: 32.92 kB / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1254, allocations: 0 / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.719e-05/0.1255, allocations: 49.62 kB / 0.6873 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1255, allocations: 8 kB / 0.6873 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1256, allocations: 3.938 kB / 0.6873 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1256, allocations: 3.984 kB / 0.6873 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.1259, allocations: 43.94 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.127, allocations: 1.298 MB / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.127, allocations: 7.938 kB / 0.6886 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.127, allocations: 3.984 kB / 0.6886 GB, free: 11.14 MB / 494.1 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 7.232e-05/0.1271, allocations: 123.1 kB / 0.6887 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.1271, allocations: 0 / 0.6887 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.1271, allocations: 11.5 kB / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1272, allocations: 0 / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.91e-07/0.1272, allocations: 0 / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1272, allocations: 0 / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.023e-05/0.1273, allocations: 157.6 kB / 0.6889 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1273, allocations: 0 / 0.6889 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.1276, allocations: 47.94 kB / 0.6889 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1276, allocations: 3.938 kB / 0.6889 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1276, allocations: 7.984 kB / 0.689 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009572/0.1286, allocations: 1.306 MB / 0.6902 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1286, allocations: 160 / 0.6902 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.1287, allocations: 81.03 kB / 0.6903 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.1288, allocations: 81.09 kB / 0.6904 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-06/0.1288, allocations: 4 kB / 0.6904 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.1288, allocations: 0 / 0.6904 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.1288, allocations: 4 kB / 0.6904 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1288, allocations: 0 / 0.6904 GB, free: 9.102 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.163e-05/0.1289, allocations: 79.28 kB / 0.6905 GB, free: 9.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1289, allocations: 0 / 0.6905 GB, free: 9.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001752/0.129, allocations: 7.938 kB / 0.6905 GB, free: 9.016 MB / 494.1 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 0.0003174/0.1294, allocations: 0.6047 MB / 0.6911 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.1298, allocations: 67.84 kB / 0.6911 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1298, allocations: 0 / 0.6911 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.13, allocations: 39.95 kB / 0.6912 GB, free: 8.273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.1301, allocations: 2.719 kB / 0.6912 GB, free: 8.273 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.1304, allocations: 120.6 kB / 0.6913 GB, free: 8.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.1306, allocations: 0.6809 MB / 0.692 GB, free: 7.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.994e-05/0.1307, allocations: 4 kB / 0.692 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.1307, allocations: 15.38 kB / 0.692 GB, free: 7.391 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1307, allocations: 0 / 0.692 GB, free: 7.391 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.282/3.413, allocations: 1.085 MB / 0.693 GB, free: 6.52 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/3.413, allocations: 256 kB / 0.6933 GB, free: 6.262 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/5.275, allocations: 3.938 kB / 0.6933 GB, free: 6.258 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)