Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.0008533/0.0008533, 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.0009038/0.0009038, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9011/0.9011, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.5316/0.5316, allocations: 110.2 MB / 369.4 MB, free: 12.64 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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5472 GB, free: 8.797 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.262e-05, allocations: 2.281 kB / 0.5472 GB, free: 8.793 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.0018/0.001822, allocations: 1.261 MB / 0.5485 GB, free: 7.52 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.004602, allocations: 3.078 MB / 0.5515 GB, free: 4.422 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.004631, allocations: 0 / 0.5515 GB, free: 4.422 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.00465, allocations: 3.984 kB / 0.5515 GB, free: 4.418 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.004693, allocations: 7.938 kB / 0.5515 GB, free: 4.41 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.005155, allocations: 107.4 kB / 0.5516 GB, free: 4.305 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.087e-05/0.005226, allocations: 35.84 kB / 0.5516 GB, free: 4.27 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.005259, allocations: 4 kB / 0.5516 GB, free: 4.266 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.00531, allocations: 27.91 kB / 0.5517 GB, free: 4.238 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.005365, allocations: 15.97 kB / 0.5517 GB, free: 4.223 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.005377, allocations: 4 kB / 0.5517 GB, free: 4.219 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.005532, allocations: 67.7 kB / 0.5517 GB, free: 4.152 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.005548, allocations: 15.97 kB / 0.5518 GB, free: 4.137 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.005569, allocations: 8 kB / 0.5518 GB, free: 4.129 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.005707, allocations: 75.77 kB / 0.5518 GB, free: 4.055 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.005709, allocations: 0 / 0.5518 GB, free: 4.055 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00571, allocations: 0 / 0.5518 GB, free: 4.055 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005714, allocations: 0 / 0.5518 GB, free: 4.055 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003216/0.006035, allocations: 274.2 kB / 0.5521 GB, free: 3.758 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.006071, allocations: 15.97 kB / 0.5521 GB, free: 3.742 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.006101, allocations: 34.73 kB / 0.5521 GB, free: 3.699 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.006167, allocations: 12.94 kB / 0.5522 GB, free: 3.688 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.623e-05/0.006234, allocations: 109.7 kB / 0.5523 GB, free: 3.555 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.006244, allocations: 4.359 kB / 0.5523 GB, free: 3.551 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.006265, allocations: 12.33 kB / 0.5523 GB, free: 3.539 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.006388, allocations: 135.3 kB / 0.5524 GB, free: 3.383 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.006395, allocations: 192 / 0.5524 GB, free: 3.383 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.006405, allocations: 3.938 kB / 0.5524 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.00641, allocations: 4 kB / 0.5524 GB, free: 3.375 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.084e-05/0.006451, allocations: 15.98 kB / 0.5524 GB, free: 3.359 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.006577, allocations: 132.8 kB / 0.5526 GB, free: 3.188 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.718e-05/0.006654, allocations: 50.55 kB / 0.5526 GB, free: 3.129 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.006679, allocations: 20.86 kB / 0.5526 GB, free: 3.105 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/0.007132, allocations: 246 kB / 0.5529 GB, free: 2.844 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.007151, allocations: 34.56 kB / 0.5529 GB, free: 2.801 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.007152, allocations: 0 / 0.5529 GB, free: 2.801 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004516/0.007604, allocations: 229.1 kB / 0.5531 GB, free: 2.543 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.007634, allocations: 51.41 kB / 0.5532 GB, free: 2.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.007692, allocations: 97.86 kB / 0.5533 GB, free: 2.375 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.007704, allocations: 25.7 kB / 0.5533 GB, free: 2.344 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.007741, allocations: 96.09 kB / 0.5534 GB, free: 2.246 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.007757, allocations: 27.73 kB / 0.5534 GB, free: 2.219 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.007787, allocations: 21.72 kB / 0.5534 GB, free: 2.191 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.007873, allocations: 326.8 kB / 0.5537 GB, free: 1.863 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.007894, allocations: 12 kB / 0.5537 GB, free: 1.852 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.296e-05/0.007937, allocations: 53.08 kB / 0.5538 GB, free: 1.781 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.497e-05/0.008002, allocations: 73.08 kB / 0.5539 GB, free: 1.691 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.008003, allocations: 4 kB / 0.5539 GB, free: 1.688 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.255e-05/0.008096, allocations: 97.5 kB / 0.554 GB, free: 1.586 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.008111, allocations: 10.34 kB / 0.554 GB, free: 1.578 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.008115, allocations: 0 / 0.554 GB, free: 1.578 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.008127, allocations: 288 / 0.554 GB, free: 1.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.913e-05/0.008176, allocations: 23.98 kB / 0.554 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.008184, allocations: 3.938 kB / 0.554 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.008205, allocations: 4 kB / 0.554 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.008211, allocations: 8 kB / 0.554 GB, free: 1.539 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.055e-05/0.008272, allocations: 113.9 kB / 0.5541 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.008289, allocations: 11.98 kB / 0.5541 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.008311, allocations: 12.06 kB / 0.5541 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.008315, allocations: 4 kB / 0.5541 GB, free: 1.395 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.00832, allocations: 3.938 kB / 0.5541 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.008323, allocations: 0 / 0.5541 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.008466, allocations: 148.7 kB / 0.5543 GB, free: 1.203 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.008467, allocations: 0 / 0.5543 GB, free: 1.203 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.008511, allocations: 15.94 kB / 0.5543 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.008512, allocations: 0 / 0.5543 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.00852, allocations: 8.438 kB / 0.5543 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.008521, allocations: 0 / 0.5543 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.008523, allocations: 3.984 kB / 0.5543 GB, free: 1.176 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.008657, allocations: 175.4 kB / 0.5545 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.008676, allocations: 4.031 kB / 0.5545 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.008687, allocations: 8 kB / 0.5545 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.008744, allocations: 0 / 0.5545 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.008757, allocations: 7.984 kB / 0.5545 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.008761, allocations: 0 / 0.5545 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.396e-05/0.008785, allocations: 83.28 kB / 0.5546 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008785, allocations: 0 / 0.5546 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.00894, allocations: 12 kB / 0.5546 GB, free: 0.875 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0005495/0.00949, allocations: 0.7164 MB / 0.5553 GB, free: 136 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.456e-05/0.009574, allocations: 39.97 kB / 0.5553 GB, free: 96 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009576, allocations: 0 / 0.5553 GB, free: 96 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.009593, allocations: 19.92 kB / 0.5553 GB, free: 76 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.00985, allocations: 11.94 kB / 0.5554 GB, free: 64 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009657/0.01082, allocations: 1.465 MB / 0.5568 GB, free: 14.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.488e-05/0.01086, allocations: 67.33 kB / 0.5569 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.123e-05/0.01089, allocations: 8.062 kB / 0.5569 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.01093, allocations: 16.5 kB / 0.5569 GB, free: 14.37 MB / 490.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01093, allocations: 0 / 0.5569 GB, free: 14.37 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.02622, allocations: 2.358 MB / 0.5592 GB, free: 12.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.792, allocations: 2.688 kB / 0.5592 GB, free: 12.15 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.286063181236386] Failed to read output from testmodel.py, exit status != 0: 6.868758539669216 6.878517058 6.871074305 Calling exit ...