Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000937/0.000937, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 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.0008879/0.0008879, allocations: 215.3 kB / 23.02 MB, free: 2.973 MB / 13.93 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.9941/0.9941, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.039/2.039, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_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_13_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.001418/0.001418, allocations: 68.55 kB / 1.177 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3396, allocations: 180 MB / 1.352 GB, free: 9.184 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002327/0.3419, allocations: 1.487 MB / 1.354 GB, free: 7.688 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.3428, allocations: 0.5605 MB / 1.354 GB, free: 7.125 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.3428, allocations: 0 / 1.354 GB, free: 7.125 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.3428, allocations: 3.938 kB / 1.354 GB, free: 7.121 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.3429, allocations: 3.938 kB / 1.354 GB, free: 7.117 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.3434, allocations: 167.8 kB / 1.355 GB, free: 6.953 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.184e-05/0.3435, allocations: 51.59 kB / 1.355 GB, free: 6.902 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.3436, allocations: 4 kB / 1.355 GB, free: 6.898 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.3436, allocations: 27.92 kB / 1.355 GB, free: 6.871 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.3437, allocations: 23.91 kB / 1.355 GB, free: 6.848 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3437, allocations: 4 kB / 1.355 GB, free: 6.844 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.344, allocations: 271.5 kB / 1.355 GB, free: 6.578 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.3441, allocations: 15.92 kB / 1.355 GB, free: 6.562 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.3441, allocations: 19.94 kB / 1.355 GB, free: 6.543 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3443, allocations: 167.6 kB / 1.355 GB, free: 6.379 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3443, allocations: 0 / 1.355 GB, free: 6.379 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3443, allocations: 0 / 1.355 GB, free: 6.379 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3443, allocations: 0 / 1.355 GB, free: 6.379 MB / 1.042 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.0004932/0.3448, allocations: 333.8 kB / 1.356 GB, free: 6.02 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3449, allocations: 12.03 kB / 1.356 GB, free: 6.008 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.3449, allocations: 34.75 kB / 1.356 GB, free: 5.965 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.3449, allocations: 12.88 kB / 1.356 GB, free: 5.953 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.67e-05/0.345, allocations: 106.5 kB / 1.356 GB, free: 5.824 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.3451, allocations: 4.375 kB / 1.356 GB, free: 5.82 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3451, allocations: 8.375 kB / 1.356 GB, free: 5.812 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.3453, allocations: 126.9 kB / 1.356 GB, free: 5.672 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3453, allocations: 3.938 kB / 1.356 GB, free: 5.668 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3453, allocations: 8 kB / 1.356 GB, free: 5.66 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3453, allocations: 7.938 kB / 1.356 GB, free: 5.652 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3455, allocations: 47.95 kB / 1.356 GB, free: 5.605 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.3459, allocations: 295.7 kB / 1.356 GB, free: 5.273 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3461, allocations: 74.48 kB / 1.356 GB, free: 5.191 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.3462, allocations: 32.83 kB / 1.356 GB, free: 5.156 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3462, allocations: 4 kB / 1.356 GB, free: 5.152 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3462, allocations: 38.56 kB / 1.356 GB, free: 5.105 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.3462, allocations: 0 / 1.356 GB, free: 5.105 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.001128/0.3474, allocations: 0.4995 MB / 1.357 GB, free: 4.551 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.3474, allocations: 55.34 kB / 1.357 GB, free: 4.484 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.3475, allocations: 109.8 kB / 1.357 GB, free: 4.367 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3475, allocations: 25.7 kB / 1.357 GB, free: 4.336 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.3475, allocations: 88.14 kB / 1.357 GB, free: 4.246 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3475, allocations: 39.64 kB / 1.357 GB, free: 4.207 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.3476, allocations: 25.72 kB / 1.357 GB, free: 4.176 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.3477, allocations: 318.8 kB / 1.357 GB, free: 3.855 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/0.3478, allocations: 35.91 kB / 1.357 GB, free: 3.82 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.3478, allocations: 35.98 kB / 1.357 GB, free: 3.785 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.348, allocations: 71.83 kB / 1.358 GB, free: 3.715 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.348, allocations: 4 kB / 1.358 GB, free: 3.711 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004767/0.3485, allocations: 117.7 kB / 1.358 GB, free: 3.59 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3485, allocations: 4 kB / 1.358 GB, free: 3.586 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3485, allocations: 192 / 1.358 GB, free: 3.586 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3485, allocations: 0 / 1.358 GB, free: 3.586 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3486, allocations: 35.91 kB / 1.358 GB, free: 3.551 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.3486, allocations: 7.938 kB / 1.358 GB, free: 3.543 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.3487, allocations: 8.078 kB / 1.358 GB, free: 3.535 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3487, allocations: 3.938 kB / 1.358 GB, free: 3.531 MB / 1.042 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.106e-05/0.3487, allocations: 118.4 kB / 1.358 GB, free: 3.406 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.3488, allocations: 4 kB / 1.358 GB, free: 3.402 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.349, allocations: 137.5 kB / 1.358 GB, free: 3.258 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.349, allocations: 0 / 1.358 GB, free: 3.258 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.349, allocations: 3.938 kB / 1.358 GB, free: 3.254 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.349, allocations: 4 kB / 1.358 GB, free: 3.25 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.3495, allocations: 345.6 kB / 1.358 GB, free: 2.863 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3495, allocations: 0 / 1.358 GB, free: 2.863 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3496, allocations: 31.91 kB / 1.358 GB, free: 2.832 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.3496, allocations: 7.875 kB / 1.358 GB, free: 2.824 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3496, allocations: 4 kB / 1.358 GB, free: 2.82 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3496, allocations: 0 / 1.358 GB, free: 2.82 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3496, allocations: 0 / 1.358 GB, free: 2.82 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.3499, allocations: 247.4 kB / 1.359 GB, free: 2.562 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.3499, allocations: 4.031 kB / 1.359 GB, free: 2.559 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.3499, allocations: 7.938 kB / 1.359 GB, free: 2.551 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.35, allocations: 7.984 kB / 1.359 GB, free: 2.543 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.35, allocations: 7.984 kB / 1.359 GB, free: 2.535 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.35, allocations: 4 kB / 1.359 GB, free: 2.531 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.3501, allocations: 83.28 kB / 1.359 GB, free: 2.449 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.3501, allocations: 0 / 1.359 GB, free: 2.449 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002681/0.3503, allocations: 39.86 kB / 1.359 GB, free: 2.41 MB / 1.042 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.000612/0.351, allocations: 0.8176 MB / 1.36 GB, free: 1.566 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3512, allocations: 83.83 kB / 1.36 GB, free: 1.484 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3512, allocations: 0 / 1.36 GB, free: 1.484 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.3513, allocations: 44.45 kB / 1.36 GB, free: 1.441 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3516, allocations: 18.86 kB / 1.36 GB, free: 1.426 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.3531, allocations: 1.599 MB / 1.361 GB, free: 15.75 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.3532, allocations: 83.52 kB / 1.361 GB, free: 15.65 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 4.922e-05/0.3532, allocations: 12.66 kB / 1.361 GB, free: 15.64 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.3533, allocations: 23.44 kB / 1.361 GB, free: 15.61 MB / 1.057 GB Notification: Performance of SimCode: time 7.12e-07/0.3533, allocations: 4 kB / 1.361 GB, free: 15.61 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/0.4622, allocations: 2.844 MB / 1.364 GB, free: 12.95 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.485, allocations: 2.656 kB / 1.364 GB, free: 12.95 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_fmpy_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.869148430414498]