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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 79.69 kB / 19.25 MB, free: 0.6211 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 162 kB / 22.56 MB, free: 1.965 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9349/0.9349, allocations: 177.1 MB / 202.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.5662/0.5662, allocations: 110.2 MB / 369.6 MB, free: 12.57 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5475 GB, free: 8.598 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.935e-05, allocations: 6.531 kB / 0.5475 GB, free: 8.594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0016/0.00162, allocations: 0.5931 MB / 0.5481 GB, free: 8 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.000231/0.001851, allocations: 95.73 kB / 0.5482 GB, free: 7.906 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.001868, allocations: 0 / 0.5482 GB, free: 7.906 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.001882, allocations: 0 / 0.5482 GB, free: 7.906 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.001923, allocations: 0 / 0.5482 GB, free: 7.906 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.002116, allocations: 23.8 kB / 0.5482 GB, free: 7.883 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.002168, allocations: 8 kB / 0.5482 GB, free: 7.875 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.002202, allocations: 0 / 0.5482 GB, free: 7.875 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.002234, allocations: 7.984 kB / 0.5482 GB, free: 7.867 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.002308, allocations: 3.984 kB / 0.5482 GB, free: 7.863 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.002326, allocations: 8 kB / 0.5482 GB, free: 7.855 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.64e-05/0.002383, allocations: 11.98 kB / 0.5483 GB, free: 7.844 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.002399, allocations: 0 / 0.5483 GB, free: 7.844 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.463e-05/0.002413, allocations: 4 kB / 0.5483 GB, free: 7.84 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.002509, allocations: 15.97 kB / 0.5483 GB, free: 7.824 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002511, allocations: 0 / 0.5483 GB, free: 7.824 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.002512, allocations: 0 / 0.5483 GB, free: 7.824 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.002516, allocations: 4 kB / 0.5483 GB, free: 7.82 MB / 474.7 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.0002754/0.002791, allocations: 246.3 kB / 0.5485 GB, free: 7.547 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.002831, allocations: 12.03 kB / 0.5485 GB, free: 7.535 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.352e-05/0.002855, allocations: 30.75 kB / 0.5486 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.002965, allocations: 20.88 kB / 0.5486 GB, free: 7.477 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.34e-05/0.003018, allocations: 101.8 kB / 0.5487 GB, free: 7.352 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.003042, allocations: 12.3 kB / 0.5487 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.003052, allocations: 384 / 0.5487 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.235e-05/0.003145, allocations: 38.25 kB / 0.5487 GB, free: 7.297 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.003151, allocations: 192 / 0.5487 GB, free: 7.297 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.003159, allocations: 384 / 0.5487 GB, free: 7.297 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.003166, allocations: 8.125 kB / 0.5487 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.397e-05/0.00322, allocations: 7.984 kB / 0.5487 GB, free: 7.281 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.003362, allocations: 124.8 kB / 0.5489 GB, free: 7.117 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.00348, allocations: 46.53 kB / 0.5489 GB, free: 7.062 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.003511, allocations: 12.92 kB / 0.5489 GB, free: 7.047 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.003527, allocations: 0 / 0.5489 GB, free: 7.047 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.003545, allocations: 30.56 kB / 0.5489 GB, free: 7.008 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.003546, allocations: 0 / 0.5489 GB, free: 7.008 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001387/0.003685, allocations: 53.67 kB / 0.549 GB, free: 6.949 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.003719, allocations: 63.34 kB / 0.5491 GB, free: 6.875 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.816e-05/0.003747, allocations: 89.86 kB / 0.5491 GB, free: 6.777 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.003756, allocations: 25.7 kB / 0.5492 GB, free: 6.746 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.003775, allocations: 80.14 kB / 0.5492 GB, free: 6.664 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.003805, allocations: 11.94 kB / 0.5493 GB, free: 6.652 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.003826, allocations: 17.66 kB / 0.5493 GB, free: 6.629 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.004063, allocations: 310.8 kB / 0.5496 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.004086, allocations: 11.98 kB / 0.5496 GB, free: 6.305 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.004101, allocations: 4 kB / 0.5496 GB, free: 6.301 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.004143, allocations: 20.84 kB / 0.5496 GB, free: 6.277 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.004145, allocations: 8 kB / 0.5496 GB, free: 6.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.305e-05/0.004208, allocations: 45.97 kB / 0.5497 GB, free: 6.219 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.004219, allocations: 4 kB / 0.5497 GB, free: 6.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.004223, allocations: 0 / 0.5497 GB, free: 6.215 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.004234, allocations: 4.031 kB / 0.5497 GB, free: 6.211 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.004438, allocations: 51.86 kB / 0.5497 GB, free: 6.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008336/0.005272, allocations: 1.309 MB / 0.551 GB, free: 4.738 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.005287, allocations: 3.938 kB / 0.551 GB, free: 4.734 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.005292, allocations: 3.984 kB / 0.551 GB, free: 4.73 MB / 474.7 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.52e-05/0.005347, allocations: 113.8 kB / 0.5511 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-06/0.005353, allocations: 7.891 kB / 0.5511 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-06/0.005361, allocations: 7.531 kB / 0.5511 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005362, allocations: 0 / 0.5511 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.91e-07/0.005363, allocations: 4 kB / 0.5511 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.005365, allocations: 0 / 0.5511 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.022e-05/0.005426, allocations: 124.7 kB / 0.5512 GB, free: 4.426 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005427, allocations: 4.062 kB / 0.5512 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.005592, allocations: 47.94 kB / 0.5513 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005593, allocations: 0 / 0.5513 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.005601, allocations: 0 / 0.5513 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006838/0.006284, allocations: 1.293 MB / 0.5526 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.006286, allocations: 7.969 kB / 0.5526 GB, free: 2.957 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.199e-05/0.006358, allocations: 81.25 kB / 0.5526 GB, free: 2.859 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-06/0.006361, allocations: 4 kB / 0.5526 GB, free: 2.855 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-06/0.006366, allocations: 4 kB / 0.5526 GB, free: 2.852 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.006377, allocations: 0 / 0.5526 GB, free: 2.852 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.006395, allocations: 3.938 kB / 0.5527 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.0064, allocations: 4 kB / 0.5527 GB, free: 2.844 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.611e-05/0.006426, allocations: 83.27 kB / 0.5527 GB, free: 2.762 MB / 474.7 MB Notification: Performance of sort global known variables: time 3e-08/0.006426, allocations: 0 / 0.5527 GB, free: 2.762 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.006559, allocations: 4 kB / 0.5527 GB, free: 2.758 MB / 474.7 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.0005956/0.007155, allocations: 0.6085 MB / 0.5533 GB, free: 2.121 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.007399, allocations: 55.92 kB / 0.5534 GB, free: 2.066 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0074, allocations: 0 / 0.5534 GB, free: 2.066 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.007518, allocations: 43.89 kB / 0.5534 GB, free: 2.023 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.692e-05/0.007615, allocations: 4.875 kB / 0.5534 GB, free: 2.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.00791, allocations: 118.6 kB / 0.5535 GB, free: 1.863 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.007945, allocations: 63.34 kB / 0.5536 GB, free: 1.781 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.002e-05/0.007965, allocations: 7.938 kB / 0.5536 GB, free: 1.773 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.007991, allocations: 12.5 kB / 0.5536 GB, free: 1.762 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.007991, allocations: 0 / 0.5536 GB, free: 1.762 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.02235, allocations: 1.885 MB / 0.5555 GB, free: 16 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/7.845, allocations: 6.406 kB / 0.5555 GB, free: 12 kB / 474.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.542634246870875] Failed to read output from testmodel.py, exit status != 0: 7.933844679035246 7.946578253 7.941562985 Calling exit ...