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.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.0007973/0.0007973, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008801/0.0008801, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8944/0.8944, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.657/1.657, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(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 1.593e-06/1.593e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.793e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001753/0.001771, allocations: 1.487 MB / 0.952 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007528/0.002524, allocations: 0.5688 MB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.002555, allocations: 0 / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.002584, allocations: 7.938 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.002624, allocations: 11.88 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.003066, allocations: 155.2 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.003144, allocations: 55.83 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.003189, allocations: 0 / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-05/0.003266, allocations: 39.89 kB / 0.9528 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.003302, allocations: 11.98 kB / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.003316, allocations: 4 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.003605, allocations: 287.3 kB / 0.9531 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.003622, allocations: 7.984 kB / 0.9531 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.003646, allocations: 19.92 kB / 0.9531 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.003872, allocations: 191.4 kB / 0.9533 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.003875, allocations: 8 kB / 0.9533 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.773e-06/0.003877, allocations: 0 / 0.9533 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003881, allocations: 0 / 0.9533 GB, free: 0.6328 MB / 0.9011 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.0004595/0.00434, allocations: 321.8 kB / 0.9536 GB, free: 292 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.004381, allocations: 11.97 kB / 0.9536 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.004415, allocations: 46.73 kB / 0.9536 GB, free: 224 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.004442, allocations: 4.938 kB / 0.9536 GB, free: 220 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.438e-05/0.004516, allocations: 109.7 kB / 0.9537 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.00454, allocations: 12.31 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.004559, allocations: 4.375 kB / 0.9538 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.004755, allocations: 132.6 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.004764, allocations: 8.125 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.004776, allocations: 4.375 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.004781, allocations: 4.125 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.004916, allocations: 55.95 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.005553, allocations: 279.8 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.005743, allocations: 82.47 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.005807, allocations: 25 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.005838, allocations: 11.98 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.005866, allocations: 30.56 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.005868, allocations: 4 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.001031/0.006899, allocations: 0.4916 MB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.006928, allocations: 55.41 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.006983, allocations: 105.8 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.006994, allocations: 25.7 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.007031, allocations: 96.03 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.007059, allocations: 43.62 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.007096, allocations: 29.7 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.007168, allocations: 322.8 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.007243, allocations: 31.91 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.007308, allocations: 31.98 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.007447, allocations: 76.83 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007448, allocations: 0 / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00018/0.007628, allocations: 118.2 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.007641, allocations: 8 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.007646, allocations: 0 / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.007658, allocations: 0 / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.007752, allocations: 31.91 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.007756, allocations: 3.938 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.007793, allocations: 4 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.007804, allocations: 12 kB / 0.9558 GB, free: 13.79 MB / 0.9167 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.329e-05/0.007877, allocations: 117.8 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.007895, allocations: 0 / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.008139, allocations: 129.7 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.00814, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.008146, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.008151, allocations: 4 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.008543, allocations: 349.8 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.008548, allocations: 7.922 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.008638, allocations: 27.92 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.008646, allocations: 7.984 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.008657, allocations: 4 kB / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.008659, allocations: 0 / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.008662, allocations: 3.938 kB / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.008972, allocations: 243.8 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.008978, allocations: 3.953 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.008991, allocations: 4.094 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-05/0.009053, allocations: 15.98 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.009073, allocations: 7.922 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.00908, allocations: 4 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.55e-05/0.009106, allocations: 83.28 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009106, allocations: 0 / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002106/0.009317, allocations: 43.86 kB / 0.9568 GB, free: 12.66 MB / 0.9167 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.0005386/0.009855, allocations: 0.8285 MB / 0.9576 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.01004, allocations: 79.88 kB / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01004, allocations: 0 / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/0.01011, allocations: 39.98 kB / 0.9577 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.01033, allocations: 19.98 kB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.01158, allocations: 1.555 MB / 0.9593 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.959e-05/0.01163, allocations: 75.33 kB / 0.9593 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.661e-05/0.01167, allocations: 12.73 kB / 0.9594 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.01172, allocations: 24.48 kB / 0.9594 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.01172, allocations: 0 / 0.9594 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.03091, allocations: 3.014 MB / 0.9623 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.235, allocations: 18.48 kB / 0.9623 GB, free: 7.117 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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: 11.296433381736279] Failed to read output from testmodel.py, exit status != 0: 7.317479783669114 7.330348689 7.323865 Calling exit ...