Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 111.8 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 202 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 250.2 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7637 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.91 kB / 1.108 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.86, allocations: 168.7 MB / 1.273 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003/0.863, allocations: 1.492 MB / 1.274 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.8642, allocations: 0.6359 MB / 1.275 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.8642, allocations: 0 / 1.275 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.8643, allocations: 7.922 kB / 1.275 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.328e-05/0.8643, allocations: 7.922 kB / 1.275 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.8649, allocations: 160.6 kB / 1.275 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.86e-05/0.865, allocations: 55.84 kB / 1.275 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.8651, allocations: 4 kB / 1.275 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.878e-05/0.8651, allocations: 19.92 kB / 1.275 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.8652, allocations: 35.83 kB / 1.275 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.8652, allocations: 4 kB / 1.275 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005374/0.8657, allocations: 339.3 kB / 1.276 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.8658, allocations: 15.97 kB / 1.276 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.8658, allocations: 27.86 kB / 1.276 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.8661, allocations: 177.2 kB / 1.276 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8661, allocations: 0 / 1.276 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8661, allocations: 0 / 1.276 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.8661, allocations: 4 kB / 1.276 GB, free: 1.367 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007029/0.8668, allocations: 408.9 kB / 1.276 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.8669, allocations: 8.031 kB / 1.276 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/0.8669, allocations: 42.75 kB / 1.276 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.8669, allocations: 4.938 kB / 1.276 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.8671, allocations: 172.3 kB / 1.276 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.8671, allocations: 4.375 kB / 1.276 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.8672, allocations: 8.375 kB / 1.276 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.8674, allocations: 88.84 kB / 1.276 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.8674, allocations: 3.938 kB / 1.276 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.8675, allocations: 7.938 kB / 1.276 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8675, allocations: 0 / 1.276 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.8677, allocations: 47.95 kB / 1.276 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006358/0.8683, allocations: 328.6 kB / 1.277 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.8686, allocations: 74.53 kB / 1.277 GB, free: 36 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.8687, allocations: 32.84 kB / 1.277 GB, free: 0 / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.8688, allocations: 4.047 kB / 1.277 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.8688, allocations: 34.5 kB / 1.277 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.8688, allocations: 4 kB / 1.277 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001861/0.8707, allocations: 0.6501 MB / 1.278 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.8707, allocations: 51.41 kB / 1.278 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.8708, allocations: 105.8 kB / 1.278 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.8709, allocations: 25.7 kB / 1.278 GB, free: 15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.8709, allocations: 92.08 kB / 1.278 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.871, allocations: 39.64 kB / 1.278 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.871, allocations: 29.72 kB / 1.278 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.8712, allocations: 318.8 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.8714, allocations: 31.98 kB / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.8715, allocations: 31.97 kB / 1.278 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.8717, allocations: 72.83 kB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.8717, allocations: 0 / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003423/0.8721, allocations: 124.8 kB / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8721, allocations: 8.094 kB / 1.278 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.8721, allocations: 7.938 kB / 1.278 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.8721, allocations: 0 / 1.278 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.8723, allocations: 23.98 kB / 1.279 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.8723, allocations: 3.938 kB / 1.279 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.8723, allocations: 7.984 kB / 1.279 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.8724, allocations: 8 kB / 1.279 GB, free: 14.19 MB / 0.9825 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 0.0001026/0.8725, allocations: 119.3 kB / 1.279 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.8725, allocations: 4 kB / 1.279 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.8729, allocations: 129.5 kB / 1.279 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.8729, allocations: 0 / 1.279 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.8729, allocations: 7.938 kB / 1.279 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8729, allocations: 0 / 1.279 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006244/0.8735, allocations: 386.4 kB / 1.279 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8735, allocations: 0 / 1.279 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.8737, allocations: 27.98 kB / 1.279 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.8737, allocations: 7.938 kB / 1.279 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.8737, allocations: 8 kB / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8737, allocations: 0 / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8737, allocations: 0 / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.8742, allocations: 243.7 kB / 1.279 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.8743, allocations: 85.2 kB / 1.279 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.8743, allocations: 7.938 kB / 1.28 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.8744, allocations: 7.984 kB / 1.28 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.8744, allocations: 11.92 kB / 1.28 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.8744, allocations: 8 kB / 1.28 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.336e-05/0.8745, allocations: 79.28 kB / 1.28 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8745, allocations: 0 / 1.28 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002836/0.8748, allocations: 39.81 kB / 1.28 GB, free: 12.93 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0009518/0.8757, allocations: 0.8221 MB / 1.28 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.8761, allocations: 79.89 kB / 1.281 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8761, allocations: 3.938 kB / 1.281 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.8762, allocations: 47.97 kB / 1.281 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.8765, allocations: 8.328 kB / 1.281 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.8788, allocations: 1.613 MB / 1.282 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.8792, allocations: 0.6924 MB / 1.283 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.57e-05/0.8792, allocations: 12.64 kB / 1.283 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.8793, allocations: 23.44 kB / 1.283 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of SimCode: time 4.9e-07/0.8793, allocations: 4 kB / 1.283 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.9062, allocations: 2.307 MB / 1.285 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/9.325, allocations: 8 kB / 1.285 GB, free: 7.312 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.3851836360991] Failed to read output from testmodel.py, exit status != 0: 9.397209364920855 9.424660198 8.552822621 Calling exit ...