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.0008919/0.0008919, 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.0011/0.0011, 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.9236/0.9236, allocations: 177.2 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.5338/0.5338, 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 2.865e-06/2.865e-06, allocations: 0 / 0.5473 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.582e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002717/0.002743, allocations: 1.292 MB / 0.5485 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009916/0.003735, allocations: 0.5565 MB / 0.5491 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.00377, allocations: 0 / 0.5491 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.003792, allocations: 3.938 kB / 0.5491 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.003833, allocations: 3.984 kB / 0.5491 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.004451, allocations: 159.2 kB / 0.5492 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.004521, allocations: 31.84 kB / 0.5493 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.00457, allocations: 4 kB / 0.5493 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.329e-05/0.004613, allocations: 15.98 kB / 0.5493 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.004672, allocations: 7.984 kB / 0.5493 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.004687, allocations: 0 / 0.5493 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.005066, allocations: 275.4 kB / 0.5496 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.005082, allocations: 0 / 0.5496 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.00511, allocations: 15.94 kB / 0.5496 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.005376, allocations: 167.5 kB / 0.5497 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.005381, allocations: 4 kB / 0.5497 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/0.005382, allocations: 0 / 0.5497 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.005386, allocations: 0 / 0.5497 GB, free: 7.297 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003957/0.005782, allocations: 294 kB / 0.55 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.005825, allocations: 8.031 kB / 0.55 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.005861, allocations: 30.75 kB / 0.5501 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.005894, allocations: 12.89 kB / 0.5501 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/0.005986, allocations: 105.8 kB / 0.5502 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.005999, allocations: 384 / 0.5502 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.006025, allocations: 16.3 kB / 0.5502 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.006168, allocations: 105.6 kB / 0.5503 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.006181, allocations: 192 / 0.5503 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.00619, allocations: 384 / 0.5503 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.006197, allocations: 4.125 kB / 0.5503 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.493e-05/0.006252, allocations: 19.98 kB / 0.5503 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.006415, allocations: 136.7 kB / 0.5504 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.006524, allocations: 62.62 kB / 0.5505 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.006567, allocations: 32.78 kB / 0.5505 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.006588, allocations: 0 / 0.5505 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.006615, allocations: 38.56 kB / 0.5506 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.006616, allocations: 0 / 0.5506 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.001045/0.007661, allocations: 443.2 kB / 0.551 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.007694, allocations: 55.41 kB / 0.551 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.007755, allocations: 93.86 kB / 0.5511 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.007771, allocations: 29.7 kB / 0.5512 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.007802, allocations: 84.12 kB / 0.5512 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.007845, allocations: 51.7 kB / 0.5513 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.007888, allocations: 21.72 kB / 0.5513 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.007991, allocations: 322.8 kB / 0.5516 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.008035, allocations: 23.98 kB / 0.5516 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.008076, allocations: 23.12 kB / 0.5517 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.008181, allocations: 60.78 kB / 0.5517 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.008182, allocations: 3.938 kB / 0.5517 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001422/0.008324, allocations: 89.67 kB / 0.5518 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.008349, allocations: 11.94 kB / 0.5518 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.008355, allocations: 0 / 0.5518 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.008368, allocations: 0 / 0.5518 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.008473, allocations: 23.98 kB / 0.5519 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.008478, allocations: 4 kB / 0.5519 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.008501, allocations: 4 kB / 0.5519 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.00851, allocations: 4.547 kB / 0.5519 GB, free: 4.871 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 (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 7.287e-05/0.008582, allocations: 113.8 kB / 0.552 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.008598, allocations: 7.953 kB / 0.552 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.008787, allocations: 113.8 kB / 0.5521 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.00879, allocations: 0 / 0.5521 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.008794, allocations: 0 / 0.5521 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.008798, allocations: 3.938 kB / 0.5521 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.009295, allocations: 321.8 kB / 0.5524 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.009298, allocations: 0 / 0.5524 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.009429, allocations: 19.98 kB / 0.5524 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.009435, allocations: 0 / 0.5524 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.009446, allocations: 4 kB / 0.5524 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.009451, allocations: 0 / 0.5524 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.009453, allocations: 0 / 0.5524 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.009664, allocations: 227.3 kB / 0.5526 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.009674, allocations: 4 kB / 0.5526 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.009689, allocations: 8.016 kB / 0.5526 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.009752, allocations: 8.062 kB / 0.5527 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.00977, allocations: 11.98 kB / 0.5527 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.009778, allocations: 4 kB / 0.5527 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.506e-05/0.009803, allocations: 79.28 kB / 0.5527 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.009803, allocations: 0 / 0.5527 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002742/0.01008, allocations: 31.88 kB / 0.5528 GB, free: 3.848 MB / 0.5105 GB 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.0004822/0.01056, allocations: 0.7942 MB / 0.5536 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.01068, allocations: 55.97 kB / 0.5536 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01068, allocations: 0 / 0.5536 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.01071, allocations: 36.08 kB / 0.5536 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.01087, allocations: 8 kB / 0.5536 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.0119, allocations: 1.46 MB / 0.5551 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.49e-05/0.01194, allocations: 71.34 kB / 0.5551 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.01198, allocations: 15.92 kB / 0.5552 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.01201, allocations: 20.56 kB / 0.5552 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.01201, allocations: 0 / 0.5552 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.02915, allocations: 2.734 MB / 0.5578 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/6.681, allocations: 11.77 kB / 0.5579 GB, free: 14.76 MB / 0.5261 GB " [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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.25226890668273] Failed to read output from testmodel.py, exit status != 0: 6.763128910213709 6.77103798 6.763902486 Calling exit ...