Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.0008804/0.0008804, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00111/0.00111, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9292/0.9292, allocations: 177.1 MB / 202.8 MB, free: 5.715 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.5596/0.5596, allocations: 110.2 MB / 369.4 MB, free: 12.58 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.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5473 GB, free: 8.703 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.939e-05, allocations: 6.219 kB / 0.5473 GB, free: 8.695 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001198/0.001217, allocations: 0.5892 MB / 0.5479 GB, free: 8.105 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004655/0.001683, allocations: 290.9 kB / 0.5482 GB, free: 7.82 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.001696, allocations: 0 / 0.5482 GB, free: 7.82 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.00171, allocations: 0 / 0.5482 GB, free: 7.82 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.602e-06/0.001716, allocations: 0 / 0.5482 GB, free: 7.82 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.002086, allocations: 111.5 kB / 0.5483 GB, free: 7.711 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.229e-05/0.002128, allocations: 3.984 kB / 0.5483 GB, free: 7.707 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.002167, allocations: 19.92 kB / 0.5483 GB, free: 7.688 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.002194, allocations: 0 / 0.5483 GB, free: 7.688 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.988e-05/0.002214, allocations: 0 / 0.5483 GB, free: 7.688 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.002226, allocations: 0 / 0.5483 GB, free: 7.688 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.002496, allocations: 251.7 kB / 0.5485 GB, free: 7.441 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.002508, allocations: 0 / 0.5485 GB, free: 7.441 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.256e-05/0.002521, allocations: 0 / 0.5485 GB, free: 7.441 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.002679, allocations: 119.7 kB / 0.5487 GB, free: 7.324 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.002682, allocations: 0 / 0.5487 GB, free: 7.324 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.002683, allocations: 0 / 0.5487 GB, free: 7.324 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.002686, allocations: 3.938 kB / 0.5487 GB, free: 7.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002225/0.002909, allocations: 262.2 kB / 0.5489 GB, free: 7.031 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.002948, allocations: 8.031 kB / 0.5489 GB, free: 7.023 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.002974, allocations: 30.75 kB / 0.549 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.003014, allocations: 0.9375 kB / 0.549 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.794e-05/0.003072, allocations: 113.8 kB / 0.5491 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.003082, allocations: 4.312 kB / 0.5491 GB, free: 6.844 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.003089, allocations: 384 / 0.5491 GB, free: 6.844 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.003206, allocations: 26.27 kB / 0.5491 GB, free: 6.812 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.003213, allocations: 192 / 0.5491 GB, free: 6.812 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.00322, allocations: 4.375 kB / 0.5491 GB, free: 6.809 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.003226, allocations: 8.125 kB / 0.5491 GB, free: 6.801 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.003242, allocations: 0 / 0.5491 GB, free: 6.801 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.003348, allocations: 116.8 kB / 0.5492 GB, free: 6.645 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.808e-05/0.003386, allocations: 22.56 kB / 0.5492 GB, free: 6.613 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.003401, allocations: 16.72 kB / 0.5493 GB, free: 6.594 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.003687, allocations: 40.03 kB / 0.5493 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.003706, allocations: 34.56 kB / 0.5493 GB, free: 6.512 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.003707, allocations: 0 / 0.5493 GB, free: 6.512 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001302/0.003837, allocations: 37.69 kB / 0.5494 GB, free: 6.469 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.003865, allocations: 55.34 kB / 0.5494 GB, free: 6.402 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.708e-05/0.003892, allocations: 89.86 kB / 0.5495 GB, free: 6.305 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.0039, allocations: 25.7 kB / 0.5495 GB, free: 6.273 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.00392, allocations: 84.14 kB / 0.5496 GB, free: 6.188 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.003945, allocations: 3.953 kB / 0.5496 GB, free: 6.184 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.003968, allocations: 13.72 kB / 0.5496 GB, free: 6.164 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.004039, allocations: 310.8 kB / 0.5499 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/0.004048, allocations: 4.062 kB / 0.5499 GB, free: 5.848 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.004053, allocations: 8 kB / 0.5499 GB, free: 5.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.004077, allocations: 8.859 kB / 0.5499 GB, free: 5.828 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004079, allocations: 0 / 0.5499 GB, free: 5.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.775e-05/0.004126, allocations: 37.69 kB / 0.55 GB, free: 5.785 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.00414, allocations: 6.344 kB / 0.55 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.004145, allocations: 0 / 0.55 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.004157, allocations: 4 kB / 0.55 GB, free: 5.777 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.054e-05/0.004197, allocations: 4 kB / 0.55 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.004203, allocations: 4.031 kB / 0.55 GB, free: 5.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-06/0.00421, allocations: 4 kB / 0.55 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.004215, allocations: 0 / 0.55 GB, free: 5.766 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.004263, allocations: 113.8 kB / 0.5501 GB, free: 5.645 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.004273, allocations: 0 / 0.5501 GB, free: 5.645 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.004344, allocations: 40.69 kB / 0.5501 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004346, allocations: 3.938 kB / 0.5501 GB, free: 5.594 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.004351, allocations: 7.938 kB / 0.5502 GB, free: 5.586 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.004353, allocations: 0 / 0.5502 GB, free: 5.586 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.602e-05/0.004409, allocations: 112.8 kB / 0.5503 GB, free: 5.434 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004411, allocations: 4.031 kB / 0.5503 GB, free: 5.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.004421, allocations: 7.984 kB / 0.5503 GB, free: 5.422 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004422, allocations: 0 / 0.5503 GB, free: 5.422 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.004428, allocations: 3.938 kB / 0.5503 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004428, allocations: 0 / 0.5503 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.004431, allocations: 3.938 kB / 0.5503 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.161e-05/0.004482, allocations: 57.08 kB / 0.5503 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.004487, allocations: 4 kB / 0.5503 GB, free: 5.336 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.004495, allocations: 3.984 kB / 0.5503 GB, free: 5.332 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-06/0.0045, allocations: 4 kB / 0.5503 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.004512, allocations: 7.969 kB / 0.5504 GB, free: 5.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-06/0.004513, allocations: 0 / 0.5504 GB, free: 5.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 1.845e-05/0.004532, allocations: 75.28 kB / 0.5504 GB, free: 5.246 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004532, allocations: 0 / 0.5504 GB, free: 5.246 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.004667, allocations: 11.94 kB / 0.5504 GB, free: 5.234 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002893/0.004957, allocations: 0.6163 MB / 0.551 GB, free: 4.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.047e-05/0.005017, allocations: 4 kB / 0.551 GB, free: 4.586 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005019, allocations: 0 / 0.551 GB, free: 4.586 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.005022, allocations: 4.094 kB / 0.551 GB, free: 4.582 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.005125, allocations: 14.33 kB / 0.5511 GB, free: 4.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.005361, allocations: 102.7 kB / 0.5512 GB, free: 4.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.235e-05/0.005394, allocations: 55.36 kB / 0.5512 GB, free: 4.355 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.65e-05/0.00541, allocations: 3.984 kB / 0.5512 GB, free: 4.352 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.005426, allocations: 8.5 kB / 0.5512 GB, free: 4.34 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005427, allocations: 0 / 0.5512 GB, free: 4.34 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.0221, allocations: 1.831 MB / 0.553 GB, free: 2.641 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.681, allocations: 11.06 kB / 0.553 GB, free: 2.633 MB / 474.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.238338920287788] Failed to read output from testmodel.py, exit status != 0: 6.759008282795548 6.7683725500000005 6.763729371 Calling exit ...