Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001442/0.001442, allocations: 114.2 kB / 17.84 MB, free: 5.336 MB / 14.72 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.00153/0.00153, allocations: 207.2 kB / 20.8 MB, free: 2.391 MB / 14.72 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 1.541/1.541, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9926/0.9926, allocations: 150 MB / 460.2 MB, free: 5.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 67.84 kB / 0.6368 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2328, allocations: 89.14 MB / 0.7238 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003423/0.2362, allocations: 1.48 MB / 0.7253 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2375, allocations: 0.6362 MB / 0.7259 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.2376, allocations: 0 / 0.7259 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.2376, allocations: 7.938 kB / 0.7259 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.2377, allocations: 3.938 kB / 0.7259 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.2385, allocations: 170.2 kB / 0.7261 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2386, allocations: 43.91 kB / 0.7261 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.2386, allocations: 11.92 kB / 0.7261 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.2388, allocations: 27.91 kB / 0.7262 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.2388, allocations: 31.84 kB / 0.7262 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.2388, allocations: 4 kB / 0.7262 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005732/0.2394, allocations: 343.4 kB / 0.7265 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.2394, allocations: 4 kB / 0.7265 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.2395, allocations: 31.86 kB / 0.7266 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.2398, allocations: 175.6 kB / 0.7267 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2398, allocations: 0 / 0.7267 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2398, allocations: 0 / 0.7267 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2398, allocations: 0 / 0.7267 GB, free: 1.078 MB / 0.5294 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.0007599/0.2406, allocations: 406.9 kB / 0.7271 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.2406, allocations: 12.03 kB / 0.7271 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.708e-05/0.2407, allocations: 192 / 0.7271 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.2407, allocations: 38.75 kB / 0.7272 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.2407, allocations: 12.88 kB / 0.7272 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.2409, allocations: 168.3 kB / 0.7273 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2409, allocations: 4.375 kB / 0.7273 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.241, allocations: 19.89 kB / 0.7274 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.2412, allocations: 73.66 kB / 0.7274 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2413, allocations: 0 / 0.7274 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2413, allocations: 3.938 kB / 0.7274 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2413, allocations: 4 kB / 0.7274 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.2415, allocations: 55.95 kB / 0.7275 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/0.2422, allocations: 324.7 kB / 0.7278 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.2425, allocations: 78.47 kB / 0.7279 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2427, allocations: 32.83 kB / 0.7279 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2427, allocations: 0 / 0.7279 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.2427, allocations: 38.56 kB / 0.7279 GB, free: 15.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.2427, allocations: 0 / 0.7279 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001829/0.2445, allocations: 0.6502 MB / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.2446, allocations: 55.41 kB / 0.7286 GB, free: 14.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.2447, allocations: 97.86 kB / 0.7287 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2447, allocations: 25.7 kB / 0.7288 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.2448, allocations: 100.1 kB / 0.7288 GB, free: 14.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.2448, allocations: 39.64 kB / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.2449, allocations: 25.72 kB / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.245, allocations: 322.8 kB / 0.7292 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.2452, allocations: 27.92 kB / 0.7292 GB, free: 14.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2453, allocations: 35.97 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.2456, allocations: 79.45 kB / 0.7294 GB, free: 14.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.2456, allocations: 0 / 0.7294 GB, free: 14.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003503/0.2459, allocations: 109.8 kB / 0.7295 GB, free: 13.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.246, allocations: 4 kB / 0.7295 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.246, allocations: 3.938 kB / 0.7295 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.246, allocations: 4 kB / 0.7295 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.2462, allocations: 31.92 kB / 0.7295 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2462, allocations: 0 / 0.7295 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.2462, allocations: 7.984 kB / 0.7295 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2462, allocations: 8 kB / 0.7295 GB, free: 13.91 MB / 0.545 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.0001027/0.2464, allocations: 113.8 kB / 0.7296 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.2464, allocations: 11.89 kB / 0.7296 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.2468, allocations: 137.4 kB / 0.7298 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2468, allocations: 0 / 0.7298 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2468, allocations: 0 / 0.7298 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2468, allocations: 0 / 0.7298 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.2475, allocations: 390.4 kB / 0.7301 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2475, allocations: 0 / 0.7301 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.2476, allocations: 31.92 kB / 0.7302 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2477, allocations: 0 / 0.7302 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2477, allocations: 0 / 0.7302 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2477, allocations: 4 kB / 0.7302 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2477, allocations: 0 / 0.7302 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.2482, allocations: 259.1 kB / 0.7304 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.2483, allocations: 81.06 kB / 0.7305 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.2483, allocations: 8.125 kB / 0.7305 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2484, allocations: 11.92 kB / 0.7305 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.2485, allocations: 7.984 kB / 0.7305 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2485, allocations: 4 kB / 0.7305 GB, free: 12.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.999e-05/0.2485, allocations: 83.34 kB / 0.7306 GB, free: 12.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2485, allocations: 0 / 0.7306 GB, free: 12.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003077/0.2488, allocations: 47.8 kB / 0.7307 GB, free: 12.63 MB / 0.545 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.001036/0.2499, allocations: 0.806 MB / 0.7314 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.2502, allocations: 83.89 kB / 0.7315 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.2502, allocations: 0 / 0.7315 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.2504, allocations: 47.91 kB / 0.7316 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.2507, allocations: 5.562 kB / 0.7316 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.2531, allocations: 1.593 MB / 0.7331 GB, free: 9.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.2535, allocations: 0.6924 MB / 0.7338 GB, free: 9.273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.503e-05/0.2535, allocations: 20.64 kB / 0.7338 GB, free: 9.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.2536, allocations: 27.38 kB / 0.7338 GB, free: 9.227 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.2536, allocations: 0 / 0.7338 GB, free: 9.227 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.2748, allocations: 2.389 MB / 0.7362 GB, free: 7.062 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.758/9.033, allocations: 18.59 kB / 0.7362 GB, free: 7.051 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.08145457500359] Failed to read output from testmodel.py, exit status != 0: 9.160962936992291 9.176644039 8.93331623 Calling exit ...