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.001026/0.001026, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001034/0.001034, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.169/1.169, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 275 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8281/0.8281, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.005042/0.005042, allocations: 90.75 kB / 0.5948 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1346, allocations: 86.98 MB / 0.6797 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001346/0.136, allocations: 0.639 MB / 0.6804 GB, free: 356 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002187/0.1362, allocations: 108.2 kB / 0.6805 GB, free: 248 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.085e-05/0.1362, allocations: 0 / 0.6805 GB, free: 248 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.1363, allocations: 0.7188 kB / 0.6805 GB, free: 248 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.517e-05/0.1363, allocations: 0.875 kB / 0.6805 GB, free: 248 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.1365, allocations: 19.98 kB / 0.6805 GB, free: 228 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.239e-05/0.1365, allocations: 4.625 kB / 0.6805 GB, free: 224 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.931e-05/0.1366, allocations: 4 kB / 0.6805 GB, free: 220 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.519e-05/0.1366, allocations: 9.766 kB / 0.6805 GB, free: 212 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.1366, allocations: 0 / 0.6805 GB, free: 212 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.1366, allocations: 0 / 0.6805 GB, free: 212 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-05/0.1367, allocations: 15.98 kB / 0.6805 GB, free: 196 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.1367, allocations: 7.938 kB / 0.6805 GB, free: 188 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.1367, allocations: 7.922 kB / 0.6805 GB, free: 180 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 5.999e-05/0.1368, allocations: 15.98 kB / 0.6806 GB, free: 164 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1368, allocations: 0 / 0.6806 GB, free: 164 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1368, allocations: 0 / 0.6806 GB, free: 164 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.1368, allocations: 0 / 0.6806 GB, free: 164 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.0002584/0.1371, allocations: 323.9 kB / 0.6809 GB, free: 15.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.1371, allocations: 8.031 kB / 0.6809 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.519e-05/0.1371, allocations: 34.75 kB / 0.6809 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1373, allocations: 16.86 kB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.715e-05/0.1373, allocations: 164.3 kB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1373, allocations: 4.375 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.1374, allocations: 384 / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.331e-05/0.1375, allocations: 38.25 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1375, allocations: 3.938 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1375, allocations: 0 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1375, allocations: 7.938 kB / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.26e-05/0.1376, allocations: 7.984 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.1377, allocations: 161.7 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1378, allocations: 46.53 kB / 0.6813 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.1379, allocations: 12.92 kB / 0.6813 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1379, allocations: 0 / 0.6813 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.1379, allocations: 34.56 kB / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.1379, allocations: 0 / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001709/0.1381, allocations: 69.72 kB / 0.6814 GB, free: 15.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.1381, allocations: 51.41 kB / 0.6815 GB, free: 15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.809e-05/0.1381, allocations: 89.86 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.1382, allocations: 29.7 kB / 0.6816 GB, free: 14.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.1382, allocations: 80.14 kB / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1382, allocations: 7.812 kB / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1382, allocations: 25.7 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.1383, allocations: 310.8 kB / 0.682 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.1384, allocations: 4 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.1384, allocations: 11.98 kB / 0.682 GB, free: 14.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.563e-05/0.1385, allocations: 20.84 kB / 0.682 GB, free: 14.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1385, allocations: 0 / 0.682 GB, free: 14.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.997e-05/0.1386, allocations: 49.62 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.1386, allocations: 12 kB / 0.6821 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1386, allocations: 3.938 kB / 0.6821 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.1386, allocations: 0 / 0.6821 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.1389, allocations: 43.92 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.1399, allocations: 1.4 MB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.14, allocations: 7.922 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.14, allocations: 0 / 0.6835 GB, free: 12.74 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 5.518e-05/0.1401, allocations: 115.1 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-06/0.1401, allocations: 4.062 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.213e-05/0.1401, allocations: 7.5 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1401, allocations: 0 / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1401, allocations: 4 kB / 0.6837 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.1401, allocations: 0 / 0.6837 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.166e-05/0.1402, allocations: 153.6 kB / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1402, allocations: 0 / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.1405, allocations: 55.86 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1405, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.1405, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009278/0.1415, allocations: 1.413 MB / 0.6852 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1415, allocations: 0 / 0.6852 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.869e-05/0.1416, allocations: 73.16 kB / 0.6853 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.1416, allocations: 77.11 kB / 0.6854 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-06/0.1416, allocations: 3.938 kB / 0.6854 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.478e-05/0.1416, allocations: 3.984 kB / 0.6854 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.1417, allocations: 12 kB / 0.6854 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1417, allocations: 0 / 0.6854 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.983e-05/0.1417, allocations: 79.28 kB / 0.6855 GB, free: 10.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1417, allocations: 0 / 0.6855 GB, free: 10.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001714/0.1419, allocations: 4 kB / 0.6855 GB, free: 10.51 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.0003219/0.1422, allocations: 0.6124 MB / 0.6861 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.1426, allocations: 63.84 kB / 0.6861 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1426, allocations: 0 / 0.6861 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.1428, allocations: 39.95 kB / 0.6862 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.1429, allocations: 0 / 0.6862 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.1432, allocations: 126.3 kB / 0.6863 GB, free: 9.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.1434, allocations: 0.669 MB / 0.6869 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.1434, allocations: 11.98 kB / 0.687 GB, free: 8.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.1435, allocations: 7.438 kB / 0.687 GB, free: 8.895 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1435, allocations: 0 / 0.687 GB, free: 8.895 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.605/1.748, allocations: 1.2 MB / 0.6881 GB, free: 7.902 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004774/1.749, allocations: 255 kB / 0.6884 GB, free: 7.645 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/4.085, allocations: 2.5 kB / 0.6884 GB, free: 7.645 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)