Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001363/0.001363, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.001359/0.001359, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.186/1.186, allocations: 175.8 MB / 479.1 MB, free: 3.656 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 68.16 kB / 0.6663 GB, free: 10.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2252, allocations: 94.54 MB / 0.7587 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003265/0.2284, allocations: 1.468 MB / 0.7601 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2298, allocations: 0.6362 MB / 0.7607 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.2298, allocations: 0 / 0.7607 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 4.489e-05/0.2299, allocations: 3.938 kB / 0.7607 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.2299, allocations: 3.938 kB / 0.7607 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007983/0.2307, allocations: 170.8 kB / 0.7609 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2309, allocations: 43.92 kB / 0.7609 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.2309, allocations: 11.91 kB / 0.7609 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.231, allocations: 19.94 kB / 0.761 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.2311, allocations: 31.84 kB / 0.761 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2311, allocations: 4 kB / 0.761 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006213/0.2317, allocations: 347.3 kB / 0.7613 GB, free: 14.35 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.2317, allocations: 4 kB / 0.7613 GB, free: 14.35 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.2318, allocations: 35.84 kB / 0.7614 GB, free: 14.31 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.2322, allocations: 175.4 kB / 0.7615 GB, free: 14.14 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2322, allocations: 0 / 0.7615 GB, free: 14.14 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2322, allocations: 0 / 0.7615 GB, free: 14.14 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.2322, allocations: 0 / 0.7615 GB, free: 14.14 MB / 0.5763 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.0007606/0.2329, allocations: 398.9 kB / 0.7619 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.233, allocations: 12.03 kB / 0.7619 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.233, allocations: 12.83 kB / 0.7619 GB, free: 13.68 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.2332, allocations: 172.3 kB / 0.7621 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.2332, allocations: 8.375 kB / 0.7621 GB, free: 13.46 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.2333, allocations: 20.27 kB / 0.7621 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.2335, allocations: 77.59 kB / 0.7622 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2336, allocations: 0 / 0.7622 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2336, allocations: 8 kB / 0.7622 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2336, allocations: 0 / 0.7622 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.2338, allocations: 47.95 kB / 0.7623 GB, free: 13.31 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.2345, allocations: 324.6 kB / 0.7626 GB, free: 12.94 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.2348, allocations: 74.53 kB / 0.7626 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.2349, allocations: 28.84 kB / 0.7627 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.235, allocations: 12.08 kB / 0.7627 GB, free: 12.82 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.235, allocations: 38.55 kB / 0.7627 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.235, allocations: 0 / 0.7627 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of matching and sorting (n=11): time 0.001835/0.2368, allocations: 0.6462 MB / 0.7633 GB, free: 12.03 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2369, allocations: 51.41 kB / 0.7634 GB, free: 11.97 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.237, allocations: 97.86 kB / 0.7635 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.237, allocations: 25.7 kB / 0.7635 GB, free: 11.83 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.237, allocations: 96.08 kB / 0.7636 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.2371, allocations: 43.61 kB / 0.7636 GB, free: 11.69 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.2372, allocations: 29.72 kB / 0.7637 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2373, allocations: 322.8 kB / 0.764 GB, free: 11.33 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.2375, allocations: 23.98 kB / 0.764 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.2376, allocations: 40.09 kB / 0.764 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.2379, allocations: 76.77 kB / 0.7641 GB, free: 11.19 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2379, allocations: 0 / 0.7641 GB, free: 11.19 MB / 0.5763 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003484/0.2382, allocations: 118.5 kB / 0.7642 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2382, allocations: 4 kB / 0.7642 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.2383, allocations: 4 kB / 0.7642 GB, free: 11.06 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2383, allocations: 4.031 kB / 0.7642 GB, free: 11.06 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2384, allocations: 27.92 kB / 0.7643 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2384, allocations: 0 / 0.7643 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.2385, allocations: 7.984 kB / 0.7643 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2385, allocations: 8 kB / 0.7643 GB, free: 11.02 MB / 0.5763 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.0001127/0.2386, allocations: 121.8 kB / 0.7644 GB, free: 10.89 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.2387, allocations: 3.953 kB / 0.7644 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.2391, allocations: 133.6 kB / 0.7645 GB, free: 10.74 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2391, allocations: 4.125 kB / 0.7645 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2391, allocations: 0 / 0.7645 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2391, allocations: 3.984 kB / 0.7645 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.2398, allocations: 382.4 kB / 0.7649 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.2398, allocations: 7.922 kB / 0.7649 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2399, allocations: 27.98 kB / 0.7649 GB, free: 10.27 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2399, allocations: 0 / 0.7649 GB, free: 10.27 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.2399, allocations: 8 kB / 0.7649 GB, free: 10.26 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.24, allocations: 0 / 0.7649 GB, free: 10.26 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.24, allocations: 0 / 0.7649 GB, free: 10.26 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.2405, allocations: 247.4 kB / 0.7652 GB, free: 10 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.2406, allocations: 85 kB / 0.7653 GB, free: 9.898 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.2406, allocations: 11.97 kB / 0.7653 GB, free: 9.887 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.2407, allocations: 7.984 kB / 0.7653 GB, free: 9.879 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.2408, allocations: 7.984 kB / 0.7653 GB, free: 9.871 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.2408, allocations: 8 kB / 0.7653 GB, free: 9.863 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.873e-05/0.2408, allocations: 75.28 kB / 0.7654 GB, free: 9.789 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.2408, allocations: 0 / 0.7654 GB, free: 9.789 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003144/0.2411, allocations: 39.88 kB / 0.7654 GB, free: 9.75 MB / 0.5763 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.0002795/0.2414, allocations: 139.1 kB / 0.7655 GB, free: 9.605 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0003781/0.2418, allocations: 83.02 kB / 0.7656 GB, free: 9.527 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2418, allocations: 0 / 0.7656 GB, free: 9.527 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.2419, allocations: 47.91 kB / 0.7657 GB, free: 9.48 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2423, allocations: 11.94 kB / 0.7657 GB, free: 9.469 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008332/0.2431, allocations: 350.9 kB / 0.766 GB, free: 9.09 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.2435, allocations: 0.6885 MB / 0.7667 GB, free: 8.375 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.2436, allocations: 19.42 kB / 0.7667 GB, free: 8.355 MB / 0.5763 GB Notification: Performance of SimCode: time 3.21e-07/0.2436, allocations: 7.938 kB / 0.7667 GB, free: 8.348 MB / 0.5763 GB Notification: Performance of Templates: time 0.004027/0.2476, allocations: 1.314 MB / 0.768 GB, free: 7.043 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.598647320177406] Failed to read output from testmodel.py, exit status != 0: 0.2569970178883523 0.271640145 0.036403207 Calling exit ...