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.0006813/0.0006813, allocations: 72.45 kB / 19.17 MB, free: 0.75 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.0007852/0.0007852, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.903/0.903, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.5708/0.5708, allocations: 110.2 MB / 369.4 MB, free: 12.62 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.142e-06/1.142e-06, allocations: 0 / 0.5473 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.908e-05, allocations: 6.219 kB / 0.5473 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001047/0.001066, allocations: 0.5909 MB / 0.5479 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004809/0.001547, allocations: 282.9 kB / 0.5482 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.001568, allocations: 0 / 0.5482 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.001586, allocations: 3.938 kB / 0.5482 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.001593, allocations: 0 / 0.5482 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.002016, allocations: 123.5 kB / 0.5483 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.803e-05/0.002064, allocations: 8 kB / 0.5483 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.00211, allocations: 4 kB / 0.5483 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.002137, allocations: 0 / 0.5483 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.215e-05/0.002159, allocations: 0 / 0.5483 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.002173, allocations: 0 / 0.5483 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.002455, allocations: 255.6 kB / 0.5486 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.002467, allocations: 0 / 0.5486 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.002481, allocations: 0 / 0.5486 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.00265, allocations: 123.7 kB / 0.5487 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.002652, allocations: 0 / 0.5487 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.162e-06/0.002653, allocations: 0 / 0.5487 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.002658, allocations: 0 / 0.5487 GB, free: 8.395 MB / 0.5105 GB 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.0002445/0.002903, allocations: 258.2 kB / 0.5489 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.002945, allocations: 8.031 kB / 0.5489 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.002974, allocations: 30.75 kB / 0.549 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.003017, allocations: 4.938 kB / 0.549 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.234e-05/0.003069, allocations: 105.8 kB / 0.5491 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.003078, allocations: 384 / 0.5491 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.003086, allocations: 8.25 kB / 0.5491 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.382e-05/0.00316, allocations: 34.2 kB / 0.5491 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.003167, allocations: 4.188 kB / 0.5491 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.003173, allocations: 384 / 0.5491 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003179, allocations: 4.125 kB / 0.5491 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.003195, allocations: 7.969 kB / 0.5491 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.686e-05/0.003292, allocations: 120.7 kB / 0.5492 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.484e-05/0.003327, allocations: 18.58 kB / 0.5493 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.003339, allocations: 4.859 kB / 0.5493 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.003603, allocations: 48.05 kB / 0.5493 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.003622, allocations: 34.5 kB / 0.5493 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.003623, allocations: 0 / 0.5493 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.003743, allocations: 33.7 kB / 0.5494 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.003771, allocations: 55.34 kB / 0.5494 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.706e-05/0.003798, allocations: 89.86 kB / 0.5495 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.003808, allocations: 29.7 kB / 0.5495 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.8e-05/0.003826, allocations: 80.27 kB / 0.5496 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.003848, allocations: 4 kB / 0.5496 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.003867, allocations: 13.72 kB / 0.5496 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.003943, allocations: 314.8 kB / 0.5499 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.003952, allocations: 8 kB / 0.5499 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/0.003956, allocations: 0 / 0.5499 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.00398, allocations: 12.8 kB / 0.5499 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.003981, allocations: 0 / 0.5499 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.14e-05/0.004023, allocations: 33.7 kB / 0.55 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.004034, allocations: 4 kB / 0.55 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.004039, allocations: 4.094 kB / 0.55 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.004052, allocations: 4 kB / 0.55 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-05/0.00409, allocations: 0 / 0.55 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.004096, allocations: 7.922 kB / 0.55 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-06/0.004103, allocations: 0 / 0.55 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.004108, allocations: 0 / 0.55 GB, free: 6.84 MB / 0.5105 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 (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.481e-05/0.004153, allocations: 109.8 kB / 0.5501 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-06/0.004162, allocations: 0 / 0.5501 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.004224, allocations: 48.56 kB / 0.5501 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.004226, allocations: 8.031 kB / 0.5502 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.004231, allocations: 3.938 kB / 0.5502 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.004235, allocations: 3.984 kB / 0.5502 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.715e-05/0.004292, allocations: 112.8 kB / 0.5503 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.004293, allocations: 0 / 0.5503 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-06/0.004299, allocations: 4 kB / 0.5503 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.0043, allocations: 0 / 0.5503 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.004306, allocations: 3.938 kB / 0.5503 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004307, allocations: 0 / 0.5503 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.004309, allocations: 3.938 kB / 0.5503 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.105e-05/0.00436, allocations: 69.06 kB / 0.5503 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-06/0.004364, allocations: 0 / 0.5503 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.004371, allocations: 0 / 0.5503 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-06/0.004376, allocations: 4 kB / 0.5504 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.004388, allocations: 3.938 kB / 0.5504 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.004389, allocations: 0 / 0.5504 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.08e-05/0.00441, allocations: 75.28 kB / 0.5504 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.00441, allocations: 0 / 0.5504 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001222/0.004532, allocations: 15.92 kB / 0.5504 GB, free: 6.305 MB / 0.5105 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 (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.0002609/0.004793, allocations: 0.6164 MB / 0.551 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.827e-05/0.004851, allocations: 7.938 kB / 0.5511 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.004853, allocations: 0 / 0.5511 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/0.004856, allocations: 0 / 0.5511 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.851e-05/0.004944, allocations: 7.938 kB / 0.5511 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.005165, allocations: 110.5 kB / 0.5512 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.088e-05/0.005196, allocations: 55.36 kB / 0.5512 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.191e-05/0.005208, allocations: 0 / 0.5512 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.005223, allocations: 12.62 kB / 0.5512 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/0.005223, allocations: 0 / 0.5512 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.02082, allocations: 1.824 MB / 0.553 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.826/6.847, allocations: 11.19 kB / 0.553 GB, free: 3.703 MB / 0.5105 GB " [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.463922603987157] Failed to read output from testmodel.py, exit status != 0: 6.926287904381752 6.934647682 6.930397341 Calling exit ...