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.001091/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001133/0.001133, allocations: 192.6 kB / 16.14 MB, free: 6.707 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.223/1.223, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 286.7 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8464/0.8464, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 90.67 kB / 0.5946 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 86.98 MB / 0.6796 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001874/0.1155, allocations: 0.6459 MB / 0.6802 GB, free: 472 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003261/0.1159, allocations: 99.72 kB / 0.6803 GB, free: 372 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.018e-05/0.1159, allocations: 0 / 0.6803 GB, free: 372 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.1159, allocations: 0.7188 kB / 0.6803 GB, free: 372 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.116, allocations: 0 / 0.6803 GB, free: 372 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.1161, allocations: 16.8 kB / 0.6803 GB, free: 356 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.85e-05/0.1162, allocations: 8 kB / 0.6803 GB, free: 348 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.1162, allocations: 0.625 kB / 0.6803 GB, free: 348 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.1163, allocations: 7.984 kB / 0.6803 GB, free: 340 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.1164, allocations: 9.234 kB / 0.6803 GB, free: 332 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1164, allocations: 0 / 0.6803 GB, free: 332 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.666e-05/0.1164, allocations: 15.98 kB / 0.6803 GB, free: 316 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.1165, allocations: 0.75 kB / 0.6803 GB, free: 316 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.1165, allocations: 4 kB / 0.6803 GB, free: 312 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.571e-05/0.1166, allocations: 15.98 kB / 0.6804 GB, free: 296 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1166, allocations: 3.938 kB / 0.6804 GB, free: 292 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1166, allocations: 0 / 0.6804 GB, free: 292 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1166, allocations: 0 / 0.6804 GB, free: 292 kB / 478.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.0003347/0.117, allocations: 319.9 kB / 0.6807 GB, free: 15.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.117, allocations: 8.031 kB / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.1171, allocations: 34.75 kB / 0.6807 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.1172, allocations: 8.922 kB / 0.6807 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.11e-05/0.1173, allocations: 172.3 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1174, allocations: 384 / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1174, allocations: 4.312 kB / 0.6809 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1175, allocations: 42.23 kB / 0.6809 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1176, allocations: 7.938 kB / 0.6809 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1176, allocations: 0 / 0.6809 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1176, allocations: 0 / 0.6809 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1177, allocations: 11.98 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.1179, allocations: 149.7 kB / 0.6811 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1181, allocations: 50.52 kB / 0.6811 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/0.1182, allocations: 12.92 kB / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1182, allocations: 7.969 kB / 0.6812 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1182, allocations: 30.56 kB / 0.6812 GB, free: 15.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1182, allocations: 4 kB / 0.6812 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002526/0.1185, allocations: 53.62 kB / 0.6812 GB, free: 15.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1186, allocations: 59.39 kB / 0.6813 GB, free: 15.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.792e-05/0.1186, allocations: 89.86 kB / 0.6814 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1186, allocations: 29.64 kB / 0.6814 GB, free: 15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.1187, allocations: 84.14 kB / 0.6815 GB, free: 14.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1187, allocations: 7.812 kB / 0.6815 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.1187, allocations: 13.72 kB / 0.6815 GB, free: 14.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1189, allocations: 318.8 kB / 0.6818 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.447e-05/0.1189, allocations: 11.92 kB / 0.6818 GB, free: 14.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.119, allocations: 4 kB / 0.6818 GB, free: 14.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1191, allocations: 20.84 kB / 0.6819 GB, free: 14.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1191, allocations: 0 / 0.6819 GB, free: 14.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000168/0.1193, allocations: 57.67 kB / 0.6819 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1193, allocations: 4 kB / 0.6819 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1193, allocations: 7.875 kB / 0.6819 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1194, allocations: 4 kB / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.1199, allocations: 39.94 kB / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.1214, allocations: 1.306 MB / 0.6832 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.1215, allocations: 7.969 kB / 0.6832 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1215, allocations: 3.984 kB / 0.6833 GB, free: 12.96 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 8.219e-05/0.1216, allocations: 115.1 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.1216, allocations: 0 / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.1216, allocations: 7.828 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1216, allocations: 0 / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1216, allocations: 0 / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1216, allocations: 7.922 kB / 0.6834 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.1218, allocations: 157.6 kB / 0.6835 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1218, allocations: 0 / 0.6835 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.1223, allocations: 47.92 kB / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1223, allocations: 0 / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1223, allocations: 0 / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008854/0.1232, allocations: 1.314 MB / 0.6849 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1232, allocations: 3.938 kB / 0.6849 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.1234, allocations: 77.08 kB / 0.6849 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.1234, allocations: 77.11 kB / 0.685 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-06/0.1234, allocations: 0 / 0.685 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.358e-05/0.1234, allocations: 4.094 kB / 0.685 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.1235, allocations: 8 kB / 0.685 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1235, allocations: 0 / 0.685 GB, free: 10.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.84e-05/0.1235, allocations: 75.28 kB / 0.6851 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1235, allocations: 0 / 0.6851 GB, free: 10.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001712/0.1237, allocations: 7.938 kB / 0.6851 GB, free: 10.85 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.0002879/0.124, allocations: 0.6124 MB / 0.6857 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.1243, allocations: 63.84 kB / 0.6858 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1244, allocations: 4 kB / 0.6858 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.1246, allocations: 35.95 kB / 0.6858 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.1247, allocations: 6.047 kB / 0.6858 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.125, allocations: 128.6 kB / 0.6859 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.1252, allocations: 0.6731 MB / 0.6866 GB, free: 9.234 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.078e-05/0.1252, allocations: 8.281 kB / 0.6866 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.1252, allocations: 7.438 kB / 0.6866 GB, free: 9.223 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1252, allocations: 0 / 0.6866 GB, free: 9.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.562/2.687, allocations: 1.152 MB / 0.6877 GB, free: 8.254 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004974/2.688, allocations: 252.5 kB / 0.688 GB, free: 8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/4.754, allocations: 0 / 0.688 GB, free: 8 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)