Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.0007701/0.0007701, 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.0009522/0.0009522, 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.9087/0.9087, 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.5425/0.5425, 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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5473 GB, free: 8.758 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.017e-05, allocations: 3.062 kB / 0.5473 GB, free: 8.754 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001791/0.001811, allocations: 1.29 MB / 0.5485 GB, free: 7.449 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007199/0.002531, allocations: 0.5525 MB / 0.5491 GB, free: 6.895 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.002559, allocations: 0 / 0.5491 GB, free: 6.895 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.002578, allocations: 3.984 kB / 0.5491 GB, free: 6.891 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.002612, allocations: 0 / 0.5491 GB, free: 6.891 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.003056, allocations: 151.2 kB / 0.5492 GB, free: 6.742 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 5.699e-05/0.003113, allocations: 31.91 kB / 0.5493 GB, free: 6.711 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.003154, allocations: 11.94 kB / 0.5493 GB, free: 6.699 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.00319, allocations: 15.98 kB / 0.5493 GB, free: 6.684 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.003242, allocations: 11.97 kB / 0.5493 GB, free: 6.672 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.003255, allocations: 0 / 0.5493 GB, free: 6.672 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.00354, allocations: 275.4 kB / 0.5496 GB, free: 6.402 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.003556, allocations: 8 kB / 0.5496 GB, free: 6.395 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.003576, allocations: 4 kB / 0.5496 GB, free: 6.391 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.003772, allocations: 171.5 kB / 0.5497 GB, free: 6.223 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003774, allocations: 0 / 0.5497 GB, free: 6.223 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003775, allocations: 0 / 0.5497 GB, free: 6.223 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.003779, allocations: 4 kB / 0.5497 GB, free: 6.219 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.0003392/0.004118, allocations: 297.8 kB / 0.55 GB, free: 5.895 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.004161, allocations: 8.625 kB / 0.55 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.004192, allocations: 42.69 kB / 0.5501 GB, free: 5.836 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.004217, allocations: 4.891 kB / 0.5501 GB, free: 5.832 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.015e-05/0.004297, allocations: 109.8 kB / 0.5502 GB, free: 5.699 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004308, allocations: 4.375 kB / 0.5502 GB, free: 5.695 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.00433, allocations: 8.375 kB / 0.5502 GB, free: 5.688 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.00446, allocations: 101.6 kB / 0.5503 GB, free: 5.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.00447, allocations: 4.125 kB / 0.5503 GB, free: 5.566 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.00448, allocations: 8.375 kB / 0.5503 GB, free: 5.559 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.004485, allocations: 4.125 kB / 0.5503 GB, free: 5.555 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.00453, allocations: 19.98 kB / 0.5503 GB, free: 5.535 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.004664, allocations: 140.6 kB / 0.5505 GB, free: 5.355 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/0.004752, allocations: 54.56 kB / 0.5505 GB, free: 5.293 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.004784, allocations: 28.84 kB / 0.5505 GB, free: 5.262 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.004804, allocations: 0 / 0.5505 GB, free: 5.262 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.004825, allocations: 38.56 kB / 0.5506 GB, free: 5.215 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.004827, allocations: 3.984 kB / 0.5506 GB, free: 5.211 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007633/0.00559, allocations: 447.8 kB / 0.551 GB, free: 4.719 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.005616, allocations: 55.41 kB / 0.5511 GB, free: 4.652 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.664e-05/0.005663, allocations: 93.86 kB / 0.5511 GB, free: 4.551 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.005674, allocations: 29.7 kB / 0.5512 GB, free: 4.516 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.005697, allocations: 84.14 kB / 0.5513 GB, free: 4.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.005728, allocations: 39.62 kB / 0.5513 GB, free: 4.391 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.005758, allocations: 29.66 kB / 0.5513 GB, free: 4.355 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.00583, allocations: 319 kB / 0.5516 GB, free: 4.035 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.005859, allocations: 27.98 kB / 0.5517 GB, free: 4.008 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.005885, allocations: 16 kB / 0.5517 GB, free: 3.992 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.764e-05/0.005953, allocations: 60.09 kB / 0.5517 GB, free: 3.934 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.005954, allocations: 0 / 0.5517 GB, free: 3.934 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.466e-05/0.006048, allocations: 101.6 kB / 0.5518 GB, free: 3.828 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.006062, allocations: 7.938 kB / 0.5518 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.006067, allocations: 0 / 0.5518 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.006078, allocations: 0 / 0.5518 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.006152, allocations: 31.86 kB / 0.5519 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.006157, allocations: 0 / 0.5519 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.337e-05/0.00617, allocations: 0 / 0.5519 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.006176, allocations: 8 kB / 0.5519 GB, free: 3.781 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 (13): * Single equations (assignments): 13 * 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 5.53e-05/0.006232, allocations: 113.8 kB / 0.552 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.006241, allocations: 3.953 kB / 0.552 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.006377, allocations: 117.7 kB / 0.5521 GB, free: 3.535 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.006379, allocations: 0 / 0.5521 GB, free: 3.535 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.006382, allocations: 0 / 0.5521 GB, free: 3.535 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006385, allocations: 0 / 0.5521 GB, free: 3.535 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.006656, allocations: 321.5 kB / 0.5524 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006658, allocations: 0 / 0.5524 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.006721, allocations: 23.92 kB / 0.5524 GB, free: 3.148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.006723, allocations: 8 kB / 0.5524 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.00673, allocations: 4 kB / 0.5524 GB, free: 3.137 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.006732, allocations: 4 kB / 0.5524 GB, free: 3.133 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006733, allocations: 0 / 0.5524 GB, free: 3.133 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.006896, allocations: 215.4 kB / 0.5526 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.006904, allocations: 12.02 kB / 0.5527 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.006913, allocations: 0 / 0.5527 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.006961, allocations: 0 / 0.5527 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.006978, allocations: 7.984 kB / 0.5527 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.006985, allocations: 8 kB / 0.5527 GB, free: 2.879 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.16e-05/0.007007, allocations: 79.34 kB / 0.5527 GB, free: 2.801 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007007, allocations: 0 / 0.5527 GB, free: 2.801 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.00719, allocations: 35.88 kB / 0.5528 GB, free: 2.766 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * 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 (11): * Single equations (assignments): 11 * 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.000381/0.007571, allocations: 0.7907 MB / 0.5536 GB, free: 1.949 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.007672, allocations: 56.03 kB / 0.5536 GB, free: 1.895 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.007674, allocations: 0 / 0.5536 GB, free: 1.895 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.007707, allocations: 39.86 kB / 0.5536 GB, free: 1.855 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.007859, allocations: 4 kB / 0.5536 GB, free: 1.852 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.008795, allocations: 1.455 MB / 0.5551 GB, free: 324 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.008837, allocations: 75.14 kB / 0.5551 GB, free: 228 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.183e-05/0.008869, allocations: 19.91 kB / 0.5552 GB, free: 208 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.0089, allocations: 16.5 kB / 0.5552 GB, free: 192 kB / 474.7 MB Notification: Performance of SimCode: time 2.7e-07/0.008901, allocations: 0 / 0.5552 GB, free: 192 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.02379, allocations: 2.737 MB / 0.5578 GB, free: 13.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.829, allocations: 24.62 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.239685180597007] Failed to read output from testmodel.py, exit status != 0: 6.91072101611644 6.924533298 6.918997691 Calling exit ...