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.001252/0.001252, 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.001388/0.001388, allocations: 189.4 kB / 16.25 MB, free: 6.625 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.547 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 0.9992/0.9992, allocations: 143 MB / 433.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 0.5138 GB, free: 11.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1515, allocations: 82.04 MB / 0.5939 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001624/0.1532, allocations: 0.6543 MB / 0.5946 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002557/0.1534, allocations: 83.8 kB / 0.5946 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.243e-05/0.1535, allocations: 0 / 0.5946 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.1535, allocations: 0 / 0.5946 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.1535, allocations: 0 / 0.5946 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1537, allocations: 23.86 kB / 0.5947 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.091e-05/0.1538, allocations: 11.98 kB / 0.5947 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.1538, allocations: 0 / 0.5947 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.915e-05/0.1538, allocations: 11.92 kB / 0.5947 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.1539, allocations: 0 / 0.5947 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1539, allocations: 0 / 0.5947 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.154, allocations: 19.98 kB / 0.5947 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.154, allocations: 0 / 0.5947 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.154, allocations: 4 kB / 0.5947 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.652e-05/0.1541, allocations: 19.91 kB / 0.5947 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1541, allocations: 0 / 0.5947 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1541, allocations: 4 kB / 0.5947 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1541, allocations: 0 / 0.5947 GB, free: 9.012 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.0002631/0.1544, allocations: 319.6 kB / 0.595 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1544, allocations: 8.031 kB / 0.595 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.549e-05/0.1544, allocations: 30.75 kB / 0.5951 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1546, allocations: 8.922 kB / 0.5951 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.723e-05/0.1547, allocations: 168.4 kB / 0.5952 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1547, allocations: 384 / 0.5952 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1547, allocations: 12.23 kB / 0.5953 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.1548, allocations: 42.25 kB / 0.5953 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1548, allocations: 3.938 kB / 0.5953 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1548, allocations: 4 kB / 0.5953 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1548, allocations: 0 / 0.5953 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.1549, allocations: 11.98 kB / 0.5953 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.155, allocations: 145.7 kB / 0.5954 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1552, allocations: 54.53 kB / 0.5955 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.1552, allocations: 12.91 kB / 0.5955 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1553, allocations: 0 / 0.5955 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.1553, allocations: 30.56 kB / 0.5955 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1553, allocations: 4 kB / 0.5955 GB, free: 8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001752/0.1555, allocations: 53.62 kB / 0.5956 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.1555, allocations: 63.39 kB / 0.5957 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.591e-05/0.1555, allocations: 89.86 kB / 0.5957 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1555, allocations: 25.7 kB / 0.5958 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.1556, allocations: 84.08 kB / 0.5958 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.1556, allocations: 12.03 kB / 0.5959 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.1556, allocations: 17.72 kB / 0.5959 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.1557, allocations: 310.8 kB / 0.5962 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.358e-05/0.1558, allocations: 11.92 kB / 0.5962 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.1558, allocations: 12 kB / 0.5962 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.565e-05/0.1559, allocations: 20.84 kB / 0.5962 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1559, allocations: 0 / 0.5962 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.995e-05/0.156, allocations: 49.95 kB / 0.5963 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.156, allocations: 8 kB / 0.5963 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.156, allocations: 3.938 kB / 0.5963 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.156, allocations: 48 / 0.5963 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.1564, allocations: 47.92 kB / 0.5963 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.1575, allocations: 1.405 MB / 0.5977 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.1576, allocations: 4 kB / 0.5977 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.1576, allocations: 0 / 0.5977 GB, free: 5.602 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 6.489e-05/0.1576, allocations: 113.8 kB / 0.5978 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.1576, allocations: 0 / 0.5978 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.1577, allocations: 7.5 kB / 0.5978 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1577, allocations: 7.922 kB / 0.5978 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-07/0.1577, allocations: 0 / 0.5978 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1577, allocations: 4.062 kB / 0.5978 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.138e-05/0.1578, allocations: 149.6 kB / 0.598 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1578, allocations: 0 / 0.598 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.1581, allocations: 47.92 kB / 0.598 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1581, allocations: 0 / 0.598 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1581, allocations: 7.938 kB / 0.598 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.1592, allocations: 1.412 MB / 0.5994 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1593, allocations: 0 / 0.5994 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.1594, allocations: 81.22 kB / 0.5995 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.1594, allocations: 77.11 kB / 0.5995 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.1594, allocations: 3.938 kB / 0.5996 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.1595, allocations: 0 / 0.5996 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.1595, allocations: 4 kB / 0.5996 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1595, allocations: 4 kB / 0.5996 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.228e-05/0.1596, allocations: 75.28 kB / 0.5996 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1596, allocations: 7.938 kB / 0.5996 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001893/0.1598, allocations: 4 kB / 0.5996 GB, free: 3.367 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.0004483/0.1602, allocations: 0.6124 MB / 0.6002 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.1607, allocations: 67.91 kB / 0.6003 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1607, allocations: 0 / 0.6003 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.1609, allocations: 39.89 kB / 0.6003 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.1611, allocations: 10.25 kB / 0.6004 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.1616, allocations: 122.5 kB / 0.6005 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1619, allocations: 0.6729 MB / 0.6011 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.1619, allocations: 4 kB / 0.6011 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.162, allocations: 11.44 kB / 0.6011 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.162, allocations: 0 / 0.6011 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2564/0.4184, allocations: 1.184 MB / 0.6023 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/0.4187, allocations: 245.8 kB / 0.6025 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.145, allocations: 0 / 0.6025 GB, free: 0.5078 MB / 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)