Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001448/0.001448, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 194.3 kB / 16.53 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.036/1.036, allocations: 143 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1689, allocations: 82.03 MB / 0.5944 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001934/0.1709, allocations: 0.5896 MB / 0.595 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003105/0.1712, allocations: 91.73 kB / 0.5951 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.1713, allocations: 0 / 0.5951 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.1713, allocations: 0 / 0.5951 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.1714, allocations: 0 / 0.5951 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.1716, allocations: 19.92 kB / 0.5951 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.1716, allocations: 15.98 kB / 0.5951 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.1717, allocations: 3.984 kB / 0.5951 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.861e-05/0.1717, allocations: 7.938 kB / 0.5951 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.1718, allocations: 0 / 0.5951 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1718, allocations: 0 / 0.5951 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.821e-05/0.1719, allocations: 15.98 kB / 0.5951 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.1719, allocations: 0 / 0.5951 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.1719, allocations: 4 kB / 0.5951 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.269e-05/0.172, allocations: 23.84 kB / 0.5951 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.172, allocations: 0 / 0.5951 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.172, allocations: 4 kB / 0.5952 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.172, allocations: 0 / 0.5952 GB, free: 8.719 MB / 0.4981 GB 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.0003906/0.1724, allocations: 323.6 kB / 0.5955 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1725, allocations: 8.031 kB / 0.5955 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.1725, allocations: 30.75 kB / 0.5955 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.1727, allocations: 12.91 kB / 0.5955 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.312e-05/0.1728, allocations: 168.4 kB / 0.5957 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1728, allocations: 384 / 0.5957 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.1728, allocations: 8.312 kB / 0.5957 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.173, allocations: 38.25 kB / 0.5957 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.173, allocations: 3.938 kB / 0.5957 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.173, allocations: 4 kB / 0.5957 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.173, allocations: 0 / 0.5957 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.478e-05/0.1731, allocations: 11.98 kB / 0.5957 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.1732, allocations: 149.7 kB / 0.5959 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1734, allocations: 46.5 kB / 0.5959 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.1735, allocations: 16.91 kB / 0.5959 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.1735, allocations: 0 / 0.5959 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1735, allocations: 30.56 kB / 0.596 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1735, allocations: 0 / 0.596 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002161/0.1738, allocations: 65.61 kB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1738, allocations: 55.41 kB / 0.5961 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.3e-05/0.1738, allocations: 89.86 kB / 0.5962 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1739, allocations: 29.64 kB / 0.5962 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.1739, allocations: 80.14 kB / 0.5963 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1739, allocations: 12.03 kB / 0.5963 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.174, allocations: 17.72 kB / 0.5963 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.1741, allocations: 314.8 kB / 0.5966 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.1741, allocations: 11.94 kB / 0.5966 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.1742, allocations: 7.984 kB / 0.5966 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.1742, allocations: 16.86 kB / 0.5966 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1742, allocations: 0 / 0.5966 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001124/0.1744, allocations: 49.67 kB / 0.5967 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1744, allocations: 8 kB / 0.5967 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1744, allocations: 3.938 kB / 0.5967 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1744, allocations: 0 / 0.5967 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.1748, allocations: 47.94 kB / 0.5967 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.1761, allocations: 1.409 MB / 0.5981 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.1762, allocations: 0 / 0.5981 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1762, allocations: 4 kB / 0.5981 GB, free: 5.309 MB / 0.4981 GB 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.38e-05/0.1763, allocations: 117.8 kB / 0.5982 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.1763, allocations: 3.984 kB / 0.5982 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.1763, allocations: 7.5 kB / 0.5982 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1763, allocations: 3.938 kB / 0.5982 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.1763, allocations: 4.062 kB / 0.5983 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.1763, allocations: 0 / 0.5983 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.922e-05/0.1764, allocations: 153.6 kB / 0.5984 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1764, allocations: 0 / 0.5984 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.1768, allocations: 43.94 kB / 0.5984 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1768, allocations: 0 / 0.5984 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1768, allocations: 4 kB / 0.5984 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.178, allocations: 1.404 MB / 0.5998 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.178, allocations: 0 / 0.5998 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.1781, allocations: 81.23 kB / 0.5999 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.1781, allocations: 77.11 kB / 0.6 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1782, allocations: 3.938 kB / 0.6 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.661e-05/0.1782, allocations: 0 / 0.6 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.1782, allocations: 7.984 kB / 0.6 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1782, allocations: 48 / 0.6 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.1782, allocations: 79.22 kB / 0.6001 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1783, allocations: 4 kB / 0.6001 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001908/0.1784, allocations: 8 kB / 0.6001 GB, free: 3.078 MB / 0.4981 GB 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.000385/0.1788, allocations: 0.6163 MB / 0.6007 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004698/0.1793, allocations: 59.92 kB / 0.6007 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1793, allocations: 0 / 0.6007 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.1796, allocations: 39.89 kB / 0.6008 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1797, allocations: 7.438 kB / 0.6008 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.1801, allocations: 125.2 kB / 0.6009 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.1804, allocations: 0.6768 MB / 0.6015 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.1804, allocations: 4 kB / 0.6016 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.1804, allocations: 7.438 kB / 0.6016 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1804, allocations: 4 kB / 0.6016 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.1998, allocations: 1.258 MB / 0.6028 GB, free: 360 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.08, allocations: 1 kB / 0.6028 GB, free: 360 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)