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.0009421/0.0009421, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.00115/0.00115, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.9456/0.9456, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.55/0.55, allocations: 110.2 MB / 369.4 MB, free: 12.61 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 2.294e-06/2.294e-06, allocations: 0 / 0.5472 GB, free: 8.809 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.15e-05, allocations: 2.281 kB / 0.5472 GB, free: 8.805 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001824/0.001856, allocations: 1.27 MB / 0.5485 GB, free: 7.52 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.004371, allocations: 3.067 MB / 0.5515 GB, free: 4.434 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.0044, allocations: 0 / 0.5515 GB, free: 4.434 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.004417, allocations: 3.938 kB / 0.5515 GB, free: 4.43 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.45e-05/0.004461, allocations: 19.91 kB / 0.5515 GB, free: 4.41 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.004968, allocations: 103.5 kB / 0.5516 GB, free: 4.309 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.005034, allocations: 35.84 kB / 0.5516 GB, free: 4.273 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.005069, allocations: 0 / 0.5516 GB, free: 4.273 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.005121, allocations: 31.84 kB / 0.5517 GB, free: 4.242 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.005177, allocations: 15.97 kB / 0.5517 GB, free: 4.227 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.00519, allocations: 0 / 0.5517 GB, free: 4.227 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.005361, allocations: 75.75 kB / 0.5517 GB, free: 4.152 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.005374, allocations: 4 kB / 0.5517 GB, free: 4.148 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.005396, allocations: 15.97 kB / 0.5518 GB, free: 4.133 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.005542, allocations: 67.8 kB / 0.5518 GB, free: 4.066 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005545, allocations: 4 kB / 0.5518 GB, free: 4.062 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005546, allocations: 3.938 kB / 0.5518 GB, free: 4.059 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.00555, allocations: 0 / 0.5518 GB, free: 4.059 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.0003089/0.005859, allocations: 278.2 kB / 0.5521 GB, free: 3.758 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.005896, allocations: 8.625 kB / 0.5521 GB, free: 3.75 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.005925, allocations: 34.75 kB / 0.5521 GB, free: 3.707 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.006001, allocations: 12.88 kB / 0.5522 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.257e-05/0.006063, allocations: 109.7 kB / 0.5523 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.006076, allocations: 8.375 kB / 0.5523 GB, free: 3.555 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.006098, allocations: 8.328 kB / 0.5523 GB, free: 3.547 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.006218, allocations: 131.3 kB / 0.5524 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.006225, allocations: 192 / 0.5524 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.006236, allocations: 3.938 kB / 0.5524 GB, free: 3.391 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.00624, allocations: 0 / 0.5524 GB, free: 3.391 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.532e-05/0.006285, allocations: 23.92 kB / 0.5524 GB, free: 3.367 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.006419, allocations: 132.8 kB / 0.5526 GB, free: 3.195 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.119e-05/0.00649, allocations: 50.56 kB / 0.5526 GB, free: 3.137 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.006513, allocations: 17.08 kB / 0.5526 GB, free: 3.117 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/0.006929, allocations: 241.8 kB / 0.5528 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.00695, allocations: 38.56 kB / 0.5529 GB, free: 2.812 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.00695, allocations: 0 / 0.5529 GB, free: 2.812 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004384/0.007389, allocations: 225.1 kB / 0.5531 GB, free: 2.559 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.007416, allocations: 51.41 kB / 0.5531 GB, free: 2.496 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.419e-05/0.00747, allocations: 105.8 kB / 0.5532 GB, free: 2.383 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.00748, allocations: 25.7 kB / 0.5533 GB, free: 2.352 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.007515, allocations: 88.09 kB / 0.5534 GB, free: 2.262 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.007532, allocations: 35.8 kB / 0.5534 GB, free: 2.227 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.007561, allocations: 25.72 kB / 0.5534 GB, free: 2.195 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.007632, allocations: 318.8 kB / 0.5537 GB, free: 1.875 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.007652, allocations: 12 kB / 0.5537 GB, free: 1.863 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.066e-05/0.007693, allocations: 57.14 kB / 0.5538 GB, free: 1.789 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.007761, allocations: 73.02 kB / 0.5539 GB, free: 1.699 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007763, allocations: 4 kB / 0.5539 GB, free: 1.695 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.265e-05/0.007855, allocations: 101.7 kB / 0.554 GB, free: 1.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.007868, allocations: 4 kB / 0.554 GB, free: 1.586 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.007873, allocations: 0 / 0.554 GB, free: 1.586 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.007884, allocations: 4 kB / 0.554 GB, free: 1.582 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/0.007931, allocations: 20 kB / 0.554 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.007938, allocations: 4 kB / 0.554 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.00796, allocations: 0 / 0.554 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.007966, allocations: 4 kB / 0.554 GB, free: 1.555 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.093e-05/0.008027, allocations: 129.8 kB / 0.5541 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.008043, allocations: 4 kB / 0.5541 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.008064, allocations: 8.125 kB / 0.5541 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.008066, allocations: 0 / 0.5541 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.008071, allocations: 3.938 kB / 0.5541 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.008074, allocations: 0 / 0.5541 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.008225, allocations: 148.6 kB / 0.5543 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008227, allocations: 8.422 kB / 0.5543 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.008273, allocations: 12 kB / 0.5543 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.008274, allocations: 0 / 0.5543 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.00828, allocations: 8 kB / 0.5543 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.008281, allocations: 0 / 0.5543 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008282, allocations: 0 / 0.5543 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.008414, allocations: 183.3 kB / 0.5545 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.008434, allocations: 4 kB / 0.5545 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.008444, allocations: 4.031 kB / 0.5545 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.008499, allocations: 4 kB / 0.5545 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.008513, allocations: 4 kB / 0.5545 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.008518, allocations: 7.984 kB / 0.5545 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.218e-05/0.008541, allocations: 75.28 kB / 0.5546 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008541, allocations: 0 / 0.5546 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.00871, allocations: 20 kB / 0.5546 GB, free: 0.8789 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.0003038/0.009014, allocations: 0.7086 MB / 0.5553 GB, free: 148 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.943e-05/0.009103, allocations: 39.97 kB / 0.5553 GB, free: 108 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009105, allocations: 0 / 0.5553 GB, free: 108 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.548e-05/0.00912, allocations: 15.98 kB / 0.5553 GB, free: 92 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.009338, allocations: 20.88 kB / 0.5554 GB, free: 76 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.01069, allocations: 1.461 MB / 0.5568 GB, free: 14.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.899e-05/0.01075, allocations: 67.34 kB / 0.5568 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.62e-05/0.0108, allocations: 12.05 kB / 0.5569 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.01084, allocations: 16.5 kB / 0.5569 GB, free: 14.39 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01084, allocations: 0 / 0.5569 GB, free: 14.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.03158, allocations: 2.342 MB / 0.5592 GB, free: 12.17 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.154, allocations: 2.312 kB / 0.5592 GB, free: 12.17 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.804798232391477] Failed to read output from testmodel.py, exit status != 0: 7.236641142517328 7.24976338 7.242525374 Calling exit ...